Hi All, I have a bash script to generate a ~/.signature file that gets added to outgoing emails, as many do. I want it to run every 2 hours, but this runs it every minute, for some reason. I checked the man page for crontab(5) and it states to do it this way. Heres what I used:
* 0-23/2 * * * /home/ricks/bin/sigfile > /home/ricks/.signature or even: * */2 * * * /home/ricks/bin/sigfile > /home/ricks/.signature Here's the output of syslog: Mar 31 00:23:00 peace CROND[11704]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:24:01 peace CROND[11725]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:25:00 peace CROND[11746]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:26:01 peace CROND[11768]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:27:00 peace CROND[11812]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:28:01 peace CROND[11834]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:29:00 peace CROND[11856]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:30:00 peace CROND[11877]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) Mar 31 00:31:01 peace CROND[11897]: (ricks) CMD (/home/ricks/bin/sigfile > /home/ricks/.signature) what would the proper syntax be ? Thx for any replies. -- RickS gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61 ======================================================== "You don't have a quote from me... thank god" - Ken Vogt
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________