How do I want to create a cron job on Linux that runs every 0.25 hour?

link|improve this question
feedback

migrated from stackoverflow.com Oct 13 '09 at 12:17

This question came from our site for professional and enthusiast programmers.

5 Answers

As well as rslite's

0,15,30,45 * * * *  command-to-be-executed

This should work on most versions of cron

*/15 * * * * command-to-be-executed
link|improve this answer
feedback

Add this to the crontab file:

0,15,30,45 * * * *  command-to-be-executed
link|improve this answer
feedback
*/15 * * * * some-command
link|improve this answer
1  
Don't forget to specify full path for some-command. E.g. not perl but /usr/bin/perl. – exquisitor Oct 13 '09 at 12:22
feedback

14,29,44,59 * * * * full-path-of-command-to-execute with argument

Just to avoid the rush at XX:00

:-)

link|improve this answer
Oh, I like this. – Paul Tomblin Oct 13 '09 at 13:16
feedback

Set minutes as 0,15,30,45 or starting from any other minute of hour.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown