![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron job starts new cron proccess | ron76 | SUN Solaris | 3 | 05-11-2008 10:07 PM |
| Cron and Pseudo-Cron | dingusmcghee | UNIX for Dummies Questions & Answers | 1 | 01-31-2008 09:58 AM |
| CRON usage for CRON job | skyineyes | UNIX for Dummies Questions & Answers | 1 | 01-17-2008 07:17 AM |
| AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log | Keith Johnson | AIX | 0 | 01-09-2008 05:32 PM |
| Cron : you are not authorized to use cron. Sorry. | tt155 | UNIX for Advanced & Expert Users | 1 | 07-06-2005 07:37 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
cron job every 2 min
hi guys!
I have problem with cron 2,4,6,8,10,12,14,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60 * * * * /usr/local/george/update.py I try this to schedule the script to run every second min forever any idea? thanks in advance george |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
this is the output:
$ sudo crontab -u george cronjob 11:54:40 installing file /usr/local/george/cronjob for user george /usr/local/george/cronjob:1: Error while reading minutes field: skipping line. 11:54:40 george's fcrontab contains no entries : removed. Modifications will be taken into account right now. thanks |
|
#3
|
|||
|
|||
|
Quote:
try this.. 1-59 * * * * /usr/local/george/update..py |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
thanks!
I just use*/2 and works, it seems to... when I ps aux | grep crond I don't see any deamon I try sudo crond but "command not found" !! I use gentoo |
|||
| Google The UNIX and Linux Forums |