Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Explaining how i did it .

I am on ubuntu 10 server

 > sudo crontab -e

Typed

 > 01 *  * * *   php5 /var/jobs/testcron.php

And saved

 >  /tmp/crontab.t53yKk/crontab

It suppose to run every single minute but it is not running .

What i did wrong ?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

01 * * * * will run every first minute of each hour. Use * * * * * to run it each minute.

share|improve this answer
    
Thanks, it worked !! , one more little help. How to type when want to run every 5 mins ? –  user44520 Jun 27 '10 at 16:04
    
Use */5 * * * * –  radius Jun 27 '10 at 16:15
    
you are a STAR ;) . –  user44520 Jun 27 '10 at 16:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.