Hi Mike,
Thanks for the reply.
Your approach is to attach the message .txt form.. which is exactly the mechanism i've been using (aimfilels attachment is the message file) all this while. If you have any idea on how to add the message directly into the script, pls let me know, because the...
Hi all,
A shell script file named 'send_report' contains this segment
...
uuencode $aimfilels $aimfilels | mail -s "Report" $userid@email.com
...
The command mail-s is used to specify the email subject, $aimfilels = attachment file
$userid = username. My question is, how do I add the...
Hi all,
Thanks for your tips and advice.
I've figured out how to transfer the dump files..
>imp userid=<username>/<password> file=<dmp filename> ignore=Y fromuser=<source> touser=<destination>
Regards,
lane
Hi eveyone,
I'm very new to Oracle sql..this is my first attempt to work with Oracle.
There is a .dmp (dump file) in a server containing several tables, which in need to be transferred into a database. The database does not have a full set of required tables, this dump file will provide all the...
Hi SOL,
Yes, done that (../../servlet/send usr filels) - still : Execute permission denied.
And yes, i can find my crontab file in /var/spool/cron/crontabs, named after my userid. Any idea why my cronjob task doesn't work?
**Not just this, i can't run 'java' command from here as well..(of...
Hi SOL,
'send' contains the emailing script, 'usr' provides the recipients names and 'filels' is the list of files to be sent to recipients.
At prompt, the mailfile works (./send usr filels) and emails are succesfully sent to the recipients.
../../servlet>mailfile
mail sent!
My userid is...
Hi,
I would want the three scripts to be executed together, coz 'send' needs 'usr' for the 'user' list, and 'filels' contains the list of filenames to be sent to the users. 'send' is an emailing script, fyi.
Thanks
lane
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.