Aritmetic operation on Cron pattern -


i have use case need schedule 2 tasks 1. @ 'x' time defined cron pattern 2. @ 'x minus 2 hours' need calculate cron pattern based on first cron pattern

for eg if first task scheduled @ 1 o'clock everyday 0 01 * * * find out first task time minus 2 hours, 0 23 * * *

please suggest on how can achieved.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -