[SLUG] cron not running

From: Eben King (eben01@verizon.net)
Date: Tue Nov 14 2006 - 10:13:25 EST


I have a job in root's crontab:

0 4 * * * /export/bin/backup /dev/hdc /dev/hde

eben@pc:~$ \ls -l /export/bin/backup
-rwxrwxr-x 1 root eben 3866 2006-11-12 10:44 /export/bin/backup

eben@pc:~$ grep -B 4 -A 4 'set -x' /export/bin/backup
}

sync

set -x
date '+%a %d %b %Y'
echo blocksize=2^$blocksizelog kB
bytesmax=$(fdisk -l $source | grep ^Disk | cut -f 5 -d ' ')

The "set -x" isn't the only command in that script which produces output,
as you see. Why don't I get an email from it?

eben@pc:~$ ps ax | grep cron
  7342 ? Ss 0:00 /usr/sbin/cron

Apparently cron's running. How do I make sure it's working though?

The computer was restarted yesterday (involuntarily... I knocked out the
plug), and still no output.

-- 
-eben    QebWenE01R@vTerYizUonI.nOetP    royalty.no-ip.org:81

Logic is a systematic method of coming to the wrong conclusion with confidence. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:23:11 EDT