cleanair4me46
Technical User
I am using Solaris 10 and its been along time but I remember creating a korn shell script to send an email message once a week. Problem is I forgot how to do all of that.
Would this be the right direction in a file called Sender?
As I recall I need to create a cron job.
How would the cron look? My attempt using my name (Jenkins) is below
0 2 * * wed Jenkins Sender
This would run at 2 PM every Wednesday
Would this be the right direction in a file called Sender?
Code:
mailx -s "Reminder Message" "joe.smith@email.adres, ed.jones@emailer.com, joe.clarke@email.com" << EOF
Do your work
reminder message.
EOF
As I recall I need to create a cron job.
How would the cron look? My attempt using my name (Jenkins) is below
0 2 * * wed Jenkins Sender
This would run at 2 PM every Wednesday