axelrod
axelrod

Reputation: 3978

Cron expression - every X minutes with exact start date

Is it possible to run a single cron expression that will execute the job every 30 minutes, starting at 9AM tomorrow for example? (from tomorrow at 9 i need it to run forever every 30 minutes). Is that possible? If not, is it possible to do this without date, only start hour?

Upvotes: 0

Views: 572

Answers (1)

Alex A.
Alex A.

Reputation: 5586

This will run a Perl script every 30 minutes indefinitely:

*/30 * * * * /usr/bin/perl /path-to-file/file.pl

According to the top answer of this question, there is no syntax that enables perpetual running with a specific start time.

Upvotes: 1

Related Questions