Use Crontab to Execute a Script only on Weekdays
How to schedule in crontab to run a command or shell script only on working days (Monday to Friday). I tried the below one, but its running even on weekends also.
* * * * * command
Expecting the answer as soon as possible. Advance Thanks bro.
Try below command in crontab to run the command only on weekdays.
* * * * 1-5 command
1-5 indicates Monday to Friday