Jump to content

Archived

This topic is now archived and is closed to further replies.

Dobakat

Cron Jobs

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.