![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with scheduling a shell script on cygwin using cron | shash | UNIX for Dummies Questions & Answers | 4 | 08-09-2007 03:08 PM |
| problem when the script is scheduled to run as cron job | forumthreads | UNIX for Dummies Questions & Answers | 6 | 07-19-2007 09:27 AM |
| script execute by cron problem, but manual ok | izai | Shell Programming and Scripting | 6 | 06-01-2007 02:45 AM |
| problem with a script and the cron | pascalbout | AIX | 1 | 10-13-2005 06:42 AM |
| cron job problem with csh script | fung_donald | Shell Programming and Scripting | 3 | 04-11-2002 07:15 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
CRON problem using script...
Hi!
I just write a simple script to kill-restart a process, but when I use CRON to run it, it runs fine for about 1 minute (kill the process and restart it)... then the new process just dissapears!. 5 minutes later (cron prog time) and it does again... up process the disspaear ... This is the script #!/bin/sh pkill -9 -f process_name /opt/file_to_be_executed and CRON entry: 5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/script.sh (I cant use */5 format, with no reason... :P) |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|