Jump to content


Photo

Cron Jobs


  • Please log in to reply
1 reply to this topic

#1 Dobakat

Dobakat
  • Members
  • PipPipPip
  • Advanced Member
  • 54 posts

Posted 24 June 2006 - 01:04 AM

Well I am still learning, and I need help with cron jobs. I want to run certian sctipts evert hour, 12 hours, 1 week. Can someone get me started or give a premade code. Thanks.

#2 DylanBlitz

DylanBlitz
  • Members
  • PipPipPip
  • Advanced Member
  • 99 posts
  • LocationOC Baby!

Posted 24 June 2006 - 05:02 AM

minutes/hours/days/months/days of the week

So if you want something to run every hour

0 * * * * command

once a week

0 * * * 0 command

That will run midnight every Sunday


Then it gets fun

0 0-22/2 * * * command

Should run every 2 hours every day.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users