04-02-2007
Hi,
Instead of mentioning a full list of values, mention the cron like this
* * * * * /usr/local/george/update..py
and inside the .py script check for the minute and then run it.
(You may need to run it only when it is either even or odd minutes.)
Thanks
Raghuram
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can anybody explain the usage of CRON for adding a cron job. please provide an example also for better understanding !!!
Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
2. Solaris
I run cron in solaris 10 zone. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and after 100 existing cron proccesses next cron job will not start. It's too weird for me, I'm not able to solve this problem. Theoretically... (3 Replies)
Discussion started by: ron76
3 Replies
3. Shell Programming and Scripting
I am trying to set up a simple cron job but it won't work
Is there a special directory that the target program has to run from ??
I noticed that all the other jobs in the file were in /usr/local/bin but even when I put my target script in there it didn't run. Anyone have any idea why ??
... (2 Replies)
Discussion started by: zapper222
2 Replies
4. Shell Programming and Scripting
Hi all,
Pretty new to CRON but have been messing with Ubuntu for a while now
Here is the situation/problem I have run into you.
I currently run a very basic back procedure by executing a daily CRON job which copies all data from one directory to a USB drive & date stamps the copy:-
cp... (2 Replies)
Discussion started by: 2scoops
2 Replies
5. UNIX Desktop Questions & Answers
Could some one help to so that I can set up a cron job such that it will check the changes of a particular network folder??? (5 Replies)
Discussion started by: coolmaddy
5 Replies
6. Solaris
Hi ,
I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility )
I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Discussion started by: chidori
4 Replies
7. Shell Programming and Scripting
Hi
I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am trying to run a script in cron every 5 min in SOLARIS 10
When I do5 * * * * /path to fileor*/5 * * * * /path to file
Doesn't work. Please let me know what should I put in the cron entry
Thanks (2 Replies)
Discussion started by: Rossdba
2 Replies
9. Shell Programming and Scripting
Hi,
1)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies
10. Solaris
Hi
I need to setuop a cron entry to run every 5 min, only in office hours (between 8:00AM to 18:00PM, I did the following:
0,5,10,15,20,25,30,35,40,45,50,55 8,9,10,11,12,13,14,15,16,17,18 * * * /home/xxx/zzz.ksh
But somehow does not work.
Could it be wrong? (8 Replies)
Discussion started by: fretagi
8 Replies