SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Geek Stuff

Cron

(2 posts)
  • Started 5 years ago by jmcguire
  • Latest reply from jd2066
  • Topic Viewed 981 times

jmcguire
jmcguire
Posts: 552

Making sure I understand Cron...

If I post

10 * * * * command (in this case php script)

It will execute every 10 minutes?

Posted 5 years ago
Top
 
jd2066
jd2066
Posts: 3814

I'm not sure about your distribution but according to the manual page on mine that command would run at every 10 minute mark. Like 00:10, 01:10, 02:10, etc.
You need to use 0,10 * * * * command for it to run every 10 minutes.

Posted 5 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!