A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
Building a cron trigger which execute every two weeks
Joined: Feb 10, 2010
Feb 11, 2010 01:44:43
Can anyone help me out in building a cron trigger which execute every two weeks on some specified weekday...
Joined: Feb 16, 2010
Feb 16, 2010 19:52:31
try typing in
this will setup the crontab which is like scheduled tasks.
the normal cron has the following format
* * * * * /path/to/command
the first * is the minute 0 - 59
the second * is the hour 0 - 23
the third * is the Day of Month 1 - 31
the fourth * is the Month 1 - 12
the last * is the Day of Week 0 - 6 (Sunday = 0)
so an example using myscript.sh
0 0 1 * * /bin/myscript.sh
This would execute myscript.sh at midnight the first day of each month.
I agree. Here's the link:
subject: Building a cron trigger which execute every two weeks
Calendar, recurring events how to store ?
calling servlet and PHP from oracle
Cron expression to run every two days from the current day
Is it possible to schedule a job with 2 different timings?
Calling a Java Program through CRONTAB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014