on Fri, Dec 08, 2000 at 09:38:45AM +0100, Sebastiaan ([EMAIL PROTECTED]) wrote: > Hi, > I am new to cron tasks and I can not find out how I can run a task every > minute. I have now this line in /etc/crontab: > # m h dom mon dow user command > 1 0 * * * root date >> /home/dating > > This should export the date every minute to /home/dating, but it does not > seem to work.
It's going to write date to /home/dating at 1 minute after midnight.
To run a command once a minute:
* * * * * user command
> And what do dom, mon and dow mean? I guess 'do monthly' and 'do weekly',
> but the middle one does not make sense to me.
$ man 5 crontab
--
Karsten M. Self <[email protected]> http://www.netcom.com/~kmself
Evangelist, Zelerate, Inc. http://www.zelerate.org
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
pgp0r2EVWgqxC.pgp
Description: PGP signature

