![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron cannot create the file.. | surekha268 | Shell Programming and Scripting | 0 | 09-01-2008 10:45 PM |
| create a chmod cron job help please | sirj | Shell Programming and Scripting | 2 | 04-19-2008 05:03 AM |
| How to create a cron job and run in quality system | mahantysk | HP-UX | 2 | 03-25-2008 11:23 PM |
| Read words from file and create new file using K-shell. | bsrajirs | Shell Programming and Scripting | 4 | 06-01-2007 09:15 AM |
| How to create cron job automatically? | siegfried | Shell Programming and Scripting | 0 | 04-25-2006 10:01 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
#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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
read FAQ duplicate post are not allowed
|
|
#3
|
|||
|
|||
|
ohh ok
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|