I want to determine the dates with the hours when Crons (of a Crontab) are going to run.
Is there a solution to recover all the dates of execution of a cron? For example, the variable crontab is "15 7 * * *" and the end date is "2018-08-05", i would like to find these dates :
- 2018-08-01 07:15:00 UTC
- 2018-08-02 07:15:00 UTC
- 2018-08-03 07:15:00 UTC
- 2018-08-04 07:15:00 UTC
- 2018-08-05 07:15:00 UTC
All my scripts are in PHP. If there is a solution in php it would be better.. Or an API ? Thanks for purpose...
Aucun commentaire:
Enregistrer un commentaire