Thank bakunin and other experts
Your ideas is excellent, i set it already
Regards
Quote:
Originally Posted by bakunin
I don't think that this is possible by only crons means (at least not to my knowledge). What you could do is put something into the script which makes it run the "action"-part only every other run:
On the first run the script will not find /some/file, so it will create it and exit. On the second run it will remove it and then proceed to do whatever it is supposed to do. On the next run it won't find the file (because it removed it) and therefore will only create it and then exit, ....
This script can be used weekly in cron but will do its intended purpose only every other week.
Dear all
How can I schedule the cronjob to be run sometime at every first Sunday at every month? I have the edit the cronjob every month now, thanks (2 Replies)
can someone please check my answers for the crontabs I am making
1. how would I set up a crontab tab executes every 2 minutes each and every day of the week?
answer: 2 * * * * /path/to/file.pl <-- is this correct?
2. how would I set up a crontab that executes every 24 hours at 2am?... (6 Replies)
Hello,
I wanted to run one of my shell script for every sunday at 5PM.
Here is the crontab entry i am using..
00 17 * * 0 /inventory/update.sh > /inventory/update.log 2>&1
The job is not kicking on sunday at the specified time.. Am i missing anthing?
Any help is appreciated... (2 Replies)
I am using Solaris 9. I wish to run my script every 1 minute inteval. Though i can run it using below entry in crontab.
* * * * /export/home/username/script/file_exist_&_run.sh
in short above script will check whether a specific file exist in a directory. If it found it will inovke another... (10 Replies)
Hi,
I would like to trigger a scipt on every Wednesday 12:00PM.
how can schedule this script in CRON command.
Could you please help me on this. (3 Replies)
I have two sets of tapes for each week days.
Mon_Set_A ____________Tue_Set_B
Tue_Set_A ____________ Tue_Set_B
Wed_Set_A ___________ Wed_Set_B
Thr_Set_A ____________ Thr_Set_B
Fri_Set_A _____________ Fri_Set_B
I have script that does cold backup of database and then back up to tape.
... (1 Reply)
Hi,
I want to run a script starting this 28 Mar 2010 every alternative sunday. Can you give me the crontab entry for the same. Mine is a HP unix. (2 Replies)
my colleague was asking about this:
is there a way to run a cron job biweekly, like a script five.sh
to run every *OTHER* Friday within November
its part about every other Friday we cant find any documentation.
thx
L (8 Replies)
Hi,
I need to create a autosys job which will run on every sunday at 7:30 AM NY time for each 10 min interval of time.
days_of_week: su
start_mins: 0,10,20,30,40,50
run_window:"07:30"
Is it fine? Please help
Thanks,
Anup (2 Replies)
Hi,
Actually scheduled my test scripts on test severs as shown below. They are supposed to run on 3rd sunday of every month.
Unfortunately it ran on 2nd sunday of the month (suspecting that it will run every sunday). I am sorry if I miss something. Could you please let me know if I did any... (1 Reply)