[19912] in Athena Bugs

home help back first fref pref prev next nref lref last post

Is cron not working on Solaris Athena?

daemon@ATHENA.MIT.EDU (Thomas E Cavin)
Tue Oct 23 13:37:08 2001

From: Thomas E Cavin <cavin@MIT.EDU>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15317.43714.254004.531149@lap1-wccf.mit.edu>
Date: Tue, 23 Oct 2001 13:37:06 -0400
To: Athena Bugs list <bugs@MIT.EDU>
CC: Tom Cavin <tec@ai.mit.edu>


Hi,

I'm having difficulty using cron on some Solaris Athena boxes.  I've
set up a local account to do backups using the AMANDA software, and
I'd like to have the jobs started by cron.  The software works, the
access permissions are correct.  The local accound doesn't use
anything in AFS space, but the cron job never seems to start.

I've also tried to use cron from my own account as a test and that
also fails, though I'm not sure how valid a test that was.

This is the crontab file for the account on this host:

  bash-2.03$ crontab -l
  # Crontab file for amandal on Hchinaski.mit.edu
  # 
  #  minute (0-59),
  #  hour (0-23),
  #  day of the month (1-31),
  #  month of the year (1-12),
  #  day of the week (0-6 with 0=Sunday)
  #  command
  #
  # Run amcheck at 1pm, Monday through Friday, send mail on errors
  0 13 * * 1-5    /var/local/amanda/sbin/amcheck -m DailyNK1
  # Run amdump at 11pm, Monday through Friday
  0 23 * * 1-5    /var/local/amanda/sbin/amdump DailyNK1
  # test
  20 16 22 10 *   env >/tmp/amandal.cron.env

The only things I can think of are the possibility that the crontab is
in the wrong format (some versions need a user account before the
command), or that cron is configured in an unusual way for Athena.

I am able to successfully run cron jobs on Linux Athena boxes, so this
problem is limited to the Solaris Athena systems.

Thanks,

	--Tom

-- 
Tom Cavin                                Phone:  (617) 258 - 7806
WCCF Computer Operations Manager         Email:  tec@ai.mit.edu

home help back first fref pref prev next nref lref last post