[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can't use cron



hello
I wrote a script and I want cron to start it everyweek
I added 10 1 * * 5  root  /root/update in crontab file and restarted cron
when I put crontab -l, it says no crontab for root ?!?
 
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs do.

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

# m h dom mon dow user	command
25 6	* * *	root	test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
47 6	* * 7	root	test -e /usr/sbin/anacron || run-parts --report
/etc/cron.weekly
52 6	1 * *	root	test -e /usr/sbin/anacron || run-parts --report
/etc/cron.monthly


10 1  * * 5 root /root/update  
# 


KOAN David - mailto:dko@snaiso.com
SNAISO communications - 141 avenue de Verdun - 92130 Issy-les-moulineaux
www.snaiso.com
tel:01.41.46.15.70 - fax:01.41.90.05.09




Reply to: