I want a cronjob to run at 10:20 and 12:45. Is it possible to set it in one line using cron ?
I know I can add to two similar lines one for 10:20 and another for 12:45.
I want a cronjob to run at 10:20 and 12:45. Is it possible to set it in one line using cron ?
I know I can add to two similar lines one for 10:20 and another for 12:45.
No, you can't do this in one line with CRON.
The closest you could get with a one-liner is for it to run at
10:20, 10:45, 12:20, 12:45
Otherwise, make the run run every 5 minutes and add the logic to your script to only execute at those given times.