![]() |
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 |
| 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 |
| need help in IF condition!! | raghav1982 | Shell Programming and Scripting | 18 | 02-09-2009 11:18 AM |
| if condition ... | mahabunta | Shell Programming and Scripting | 4 | 02-14-2007 11:44 AM |
| awk and condition help | gini | Shell Programming and Scripting | 5 | 12-13-2006 11:17 AM |
| if condition | mahabunta | UNIX for Dummies Questions & Answers | 1 | 09-26-2006 10:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
crontab condition
hi
i have one crontab file. In crontab file i want to write a if condition is it possible by any ways. suppose on 22.00 .. i want to run test.sh file. but only when the flag in a outer file bust.txt is 1 otherwise dont execute. same. can we use conditions in crontab file.? Thank you. Regards, Swapneel |
|
||||
|
Hi helen
i got wht you r saying. See i have more than 100 of important scripts running on different time and date..... I need to modify each and every script to add this if condition/ clause. instead of modifying all these files.. i m thinking to write a condition in crontab file. is it ok?or is it possible?can we write condition in cron tab file? see unix is going to store all these scripts and there sheduled time. in any case is it possible to manage it in crontab file. see i cant update all of my calling scripts. thanks a lot helen! Best Regards, Swapneel |
|
||||
|
Hi.. all
I have got 3 scripts: s1.sh, s2.sh, s3.sh I want to run s1 at 15,30,45 mins of every hr. s2.sh should run 10 mins after s1.sh has been executed. s3.sh should run 10 mins after s2.sh has been executed. Given the above case, wt approach shd be follwd. plz explain in detail (naive to Shell Prog) |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|