2

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

0

5 Answers 5

15

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
5

Add this to the crontab file:

0,15,30,45 * * * *  command-to-be-executed
3
*/15 * * * * some-command
1
  • 1
    Don't forget to specify full path for some-command. E.g. not perl but /usr/bin/perl.
    – lexsys
    Oct 13, 2009 at 12:22
3

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

Just to avoid the rush at XX:00

:-)

1
1

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

You must log in to answer this question.