M
M
mark_me2019-12-25 17:15:20
Task Schedulers
mark_me, 2019-12-25 17:15:20

Crontab how to execute every 2 days at 3:00?

Hello.
You need to perform an action every 2 days at 03:00 Moscow time. What team should be? And when are the commands executed, depending on the start of the month or on the install time?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-12-29
@mark_me

In cron, it will not be possible to set this condition in one line, it is easier to run every day, and in the script to check whether the day of the year is even or odd.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question