crontab bi-weekly execute

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

crontab bi-weekly execute

Post by miro_igov »

I was curious is it possible to configure a crontab task to execute each Monday, not weekly but once per 2 weeks.

Currently i set it weekly with [00 11 * * 1] setting, but this needs to be once per 2 weeks and always in Monday.
facets
Forum Contributor
Posts: 273
Joined: Wed Apr 13, 2005 1:53 am
Location: Detroit

Post by facets »

This should do the job. ( 1/2 every second Monday)

0 11 * * 1/2 /script
Post Reply