I need to execute a cronjob to run once for 7 days alone. I have tried like this: 0 0 * * 0-6  myscript.shIt gets run for once a day and running every day of the week since I gave as 0-6.But I need to run a job for one week alone not followed by multiple days. I do not want to mention the date of the month, since I need it to run at various times.(or)Using special command time in cron, I use @daily option aloneHow can I set the job to run for 7 days alone?
Cron job for 7 days alone not followed by multiple weeks
shell script;command line;cron;scheduling;jobs