crontab hp-ux

How would I setup a crontab entry to run a job every other Friday(bi-weekly)?  The only thing that I can come up with was 0   0   1,15   *   1   but that will not fit the situation because the cron job needs to run bi-weekly and not a set date in the month.

Thanks in advance.
dedean01Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
tfewsterConnect With a Mentor Commented:
See http://www.experts-exchange.com/Operating_Systems/Unix/Q_20370553.html  - Essentially, you run the job every week, and it checks itself for the last time it ran. So the crontab entry would simply be:

0   0   *   *   5   /path/to/script
0
 
tfewsterCommented:
Incidentally:
0   0   1,15   *   1  
would run the job on the first, the fifteenth AND every Monday
0
 
dedean01Author Commented:
Yes, thanks for the quick response, I was able to implement the script immediately.  I knew I had a typo but I didn't think  it would  impact the understanding of my question.

Once again thanks.
0
All Courses

From novice to tech pro — start learning today.