I have the below crontab job that it will run at every 7:00am - 10:00am , it work fine , now if I want to skip to run the crontab job at a specific time , eg. I want the script not to run at next Monday 8:00am ( only skip this time , other time is normal ) , how can I make it ? is it possible ? thx in advance .
Are you going to need to skip this only on this Monday (i.e. only just once)? or is it going to be skipped on particular day(s)? In the second case, you can modify the entry as follows:
0 7-10 * * <days you want the script to run (0-6)(0 is Sunday)> <command>
If you are going to be skipping this script on only one single day (i.e. you want to skip it this Monday, but run it on all Mondays after that), you are best off hashing out this particular entry from the crontab file at 0000 hrs on that day, and unhashing it after 2359 hrs on the same day.