Re: Executing cronjob on every first business day of the month




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

.



Relevant Pages