On Thu, 14 Mar 2002, henry wrote: > Dear List: > > I cant use crontab-command by typing "crontab cronset" ,even I use crontab -l to >verify it . > my cronset is as follows: > 0 9 * * * updatedb > min hr > > But I can use at-command : > at -f myschedule 09:00 (my schedule is like this : updatedb) > > Could you shed some light on it ?
0 9 * * * /usr/bin/updatedb Also, if you've use the TAB key this may confuse it, separate with spaces only. CRON doesen't have the full environment set when it runs the program, check this with * * * * * set >/tmp/cron-environment and compare with "set | more" from the command line. Besides all that, usually updatedb is found in /etc/cron.daily/ directory. -- ---<GRiP>--- Web: www.arcadia.au.com/gripz Answering Machine/fax: 02 4950 1194 (wait 5 mins if no answer) Mobile: 0408 686 201 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
