[plug] crontab query

Denis Brown dsbrown at cyllene.uwa.edu.au
Fri May 21 14:21:27 WST 1999


Dear PLUG members,

Regardless of how I try, I don't seem to be able to get crontab working.
My test script is:

# File name: dbcron
# Purpose:   crontab experimental file

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow command
*/2 * * * * ls > dbjob

<< EOF >>

I activate it with crontab dbcron and a subsequent crontab -l lists it alright.

As far as I've read, that should squirt a directory listening to a file
called "dbjob" every 2 minutes.  In reality, "dbjob" never gets created.
This is a Debian system and the guts of that file I lifted from a system
cron job to be sure I got the PATH set correctly.  I've rtfm'd, including
the "man 5 cron" pages, scoured the web but am still faced with a cron that
does nothing.  The system clock is working "date" returns fresh information
each time.  Any help appreciated -- what haven't I done??

Regards,
Denis



More information about the plug mailing list