M
M
metnee2017-07-13 02:10:23
Task Schedulers
metnee, 2017-07-13 02:10:23

How to add cron job for every 29 minutes?

I need a php script to run every 29 minutes
. I added this task: But the cron executes the script at 29 minutes, at 58 and at 00 of each hour. How can I make the interval between script executions be 29 minutes?
*/29 * * * * curl 127.0.0.1/script.php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2017-07-13
@metnee

If you have the opportunity to store one number somewhere, then I would set a task for every minute and check in the script whether 29 minutes have already passed or not yet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question