For example, I have a task that is executed every minute. When I start the program, cron will start to execute my task in the next minute. Can I add an option such as "Execute once now" task。
If I manually call the task once in the program, it will look very ugly, and some situations cannot be satisfied
For example, I have a task that is executed every minute. When I start the program, cron will start to execute my task in the next minute. Can I add an option such as "Execute once now" task。
If I manually call the task once in the program, it will look very ugly, and some situations cannot be satisfied