[plug] crontab query

John Summerfield summer at os2.ami.com.au
Fri May 21 14:39:37 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 alrigh
> t.
> 
> 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??

Anything in these?
FILES
       /etc/cron.allow
       /etc/cron.deny



-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.




More information about the plug mailing list