Hi,
I want to run shell scripts in cronjob and i need to verify whether this syntax is correct.
The shell script files are send, usr and filels (all stored in the same folder servlet)
0 9 * * * /home/admin/report/servlet>send usr filels
I've typed the full path '/home/../servlet' to the scripts however, I think there are some mistakes here..Pls help with the correct syntax. FYI, the above command is working when directly executed at UNIX prompt.
/home/admin/report/servlet>send usr filels
Result:
mail sent!
Thanks
lane
I want to run shell scripts in cronjob and i need to verify whether this syntax is correct.
The shell script files are send, usr and filels (all stored in the same folder servlet)
0 9 * * * /home/admin/report/servlet>send usr filels
I've typed the full path '/home/../servlet' to the scripts however, I think there are some mistakes here..Pls help with the correct syntax. FYI, the above command is working when directly executed at UNIX prompt.
/home/admin/report/servlet>send usr filels
Result:
mail sent!
Thanks
lane