![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Crontab problem | jess_t03 | AIX | 3 | 05-22-2009 01:42 AM |
| problem with crontab | cleansing_flame | UNIX for Dummies Questions & Answers | 1 | 01-29-2008 08:02 PM |
| Problem with crontab | cleansing_flame | UNIX for Dummies Questions & Answers | 3 | 01-14-2008 04:03 PM |
| Run crontab job problem | ust | UNIX for Advanced & Expert Users | 3 | 07-23-2007 09:45 PM |
| Problem with Crontab | Zak | UNIX for Dummies Questions & Answers | 2 | 12-20-2005 05:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
crontab problem
hi..
i have a program (tf.sh), and i want what it runs automatically with a "lapsus" of 2 hours. (1,3,5,7,9,11,13,15,17,19,21,23 hrs.) i know what i have to do it using crontab, but i donīt know how to do it. i have the next idea, but the problem is what it doesnīt run on my server (solaris 5.7): 0 1,3,5,7,9,11,13,15,17,19,21,23 * * * /sybase/TRANSFERENCIA_FTP/tf.sh 2>/tmp/.ftp.log.2 1>/tmp/.ftp.log.1 please help me - any idea thanks jona |
|
||||
|
You need one more asterisk in there.
From the crontab man page: Quote:
|
|
||||
|
My mistake, you don't need another asterisk. At first glace it seemed like you were missing a field.
Do you get any output into the files /tmp/.ftp.log.1 and /tmp/.ftp.log.2? Can you check if there are error messages in the cron log? Is cron running? Type ps -ef | grep cron and post the output. |
|
||||
|
crontab problem
i don`t get any output into the files /tmp/.ftp.log.1 and /tmp/.ftp.log.2
is more, they donīt exist in the /temp folder i put the command and this is the exit: data:sybase>ps -e|grep cron 10564 pts/7 S 0:00 grep cron _=/usr/bin/grep ASTMP=/sybase/CATALOGO _INIT_ what does this mean? how can i do it again this crontab? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|