Re: Executing cronjob on every first business day of the month
- From: "martin.witte@xxxxxxxxx" <martin.witte@xxxxxxxxx>
- Date: 1 Sep 2006 06:31:34 -0700
Meeaz wrote:
Hi,
We are running Sun Solaris 8 and I want to set a cronjob that executes
on every first "business" day of the month. The idea is to avoid
Saturdays and Sundays as the first day.
Pls help..
Thanks in Advance
afaik you can't do this in cron, I would start my script by checking
the result of date +%a, when thats Sat or Sun I would exit the script
.
- Follow-Ups:
- References:
- Prev by Date: Re: unzip in relative path
- Next by Date: Re: Timestamp as a one-line-variable
- Previous by thread: Executing cronjob on every first business day of the month
- Next by thread: Re: Executing cronjob on every first business day of the month
- Index(es):
Relevant Pages
|