How do I create a CRON job so that it runs every 15 minutes (24 hours a day) but for one week only and exits? Thanks!
Cron has no concept of week, you will have to have your script or some other script make the final decision on whether to run or not. The date command can provide the ISO week of year %V so you could do something like
to run a script doSomething every 15 minutes next week but it would run next year too so use
to limit it to this year.
Note that the