![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron cannot create the file.. | surekha268 | Shell Programming and Scripting | 0 | 09-02-2008 01:45 AM |
| create a chmod cron job help please | sirj | Shell Programming and Scripting | 2 | 04-19-2008 08: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 12:15 PM |
| How to create cron job automatically? | siegfried | Shell Programming and Scripting | 0 | 04-26-2006 01:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
#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 |
|
|