![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| 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 07:08 PM |
| problem when the script is scheduled to run as cron job | forumthreads | UNIX for Dummies Questions & Answers | 6 | 07-19-2007 01:27 PM |
| script execute by cron problem, but manual ok | izai | Shell Programming and Scripting | 6 | 06-01-2007 06:45 AM |
| problem with a script and the cron | pascalbout | AIX | 1 | 10-13-2005 10:42 AM |
| cron job problem with csh script | fung_donald | Shell Programming and Scripting | 3 | 04-11-2002 11:15 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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) |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|