|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Multiple Crontabs
I have a crontab job in my sun solaris server and basically i have a unix script in 3 different parts
1 part will do an auto ftp from a server 2 part will have some grep and awk related commands and generate certain files 3 part the files that are generated above will be auto ftpied again to the source server. when i put above 3 parts in crontab using && also the 2nd and 3rd part is not executing properly and even if merge all the above 3 tasks in one crontab also it is not executing. what is the best way to execute and automate the scripts. |
| Sponsored Links | |
|
|
|
#2
|
|||
|
|||
|
One simple thing would be create a new script and from inside the new script invoke the script 1,script 2 and script 3.
Add the new script to crontab entry. Or in crontab try with below format * * * * * script1;script2;script3 |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Control multiple program instances - open multiple files problem | hakermania | Programming | 3 | 02-06-2011 12:06 PM |
| crontabs entry not working | DILEEP410 | Shell Programming and Scripting | 2 | 11-03-2009 09:01 PM |
| Monitoring Crontabs | r00t4u | UNIX for Advanced & Expert Users | 4 | 08-24-2009 03:25 AM |
| extract multiple cloumns from multiple files; skip rows and include filenames; awk | manishabh | Shell Programming and Scripting | 4 | 08-18-2009 10:55 PM |
| Jobs scheduled in crontabs are not running after a migration to oracle 9i | alexcol | UNIX for Advanced & Expert Users | 4 | 03-27-2007 10:35 PM |
|
|