![]() |
|
|
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 |
| create a chmod cron job help please | sirj | Shell Programming and Scripting | 2 | 04-19-2008 09:03 AM |
| How to create a cron job and run in quality system | mahantysk | HP-UX | 2 | 03-26-2008 02:23 AM |
| Read words from file and create new file using K-shell. | bsrajirs | Shell Programming and Scripting | 4 | 06-01-2007 01:15 PM |
| File Compare and Create New File with Diff | guiguy | UNIX for Advanced & Expert Users | 7 | 02-28-2007 06:43 AM |
| How to create cron job automatically? | siegfried | Shell Programming and Scripting | 0 | 04-26-2006 02:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
cron cannot create the file..
#For the test1.sh crontab
35 11 * * * /home/tolamas/suru/MailingScript/test1.sh #test1.sh cat /home/tolamas/suru/reports/test11.res RCPT_LIST="st0030761@techmahindra.com" SUBJECT="test mail dated ${MAIL_DATE} " FROM="surekha.tolamatti@techmahindra.com" ( cat /home/tolamas/suru/reports/test12.res echo "HI this is crontab.." ) | mailx -s ${MAIL} -r "${FROM}" -s "${SUBJECT}" ${RCPT_LIST} #end of file test1.sh but cron is not able to execute the script if it remove below two lines from the test1.sh the cron can execute the script. cat /home/tolamas/suru/reports/test11.res cat /home/tolamas/suru/reports/test12.res |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|