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.
dedean01Technical Support Engineer Asked:
Who is Participating?
 
tfewsterCommented:
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
 
dedean01Technical Support Engineer Author 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.