It's Working, Thanks!
I feel like a dummy though! I was testing something when I commented out both mailprog routines. My fault, I should have rechecked!
Secondly, the 500 server errors were because I forgot to put the \@ in my email address. Fixed it and boom!!!!!! This actually happened to me on another perl script and I should have remembered. Goes to show to all out there, read the documentation!!
Finally, now I can work on the Cron event. Here is what I have for the .sh file:
/home/web/guide/yorkphiladelphia/jobtrack/mailer.cgi > /home/web/guide/yorkphiladelphia/jobtrack/remindlog.txt
Then in my mailer txt file for the Cron event I have as follows:
0 7,1,15, * * /home/web/guide/yorkphiladelphia/jobtrack/mailer.sh
I came up with these by following the tutorial in the thread www.gossamer-threads.com/scripts/resources/Detailed/244.html .
Does it all look kosher, Eliot? If it does, I am a happy camper
Also, if this is correct, it will be a guide for others out there trying to implement your wonderful script (since there aren't too many examples of a Cron event in the forum). Any other tricks you can mention, please feel free to do so!
Thanks again. Your services are very much appreciated!
[This message has been edited by BrianYork (edited October 27, 1999).]
[This message has been edited by BrianYork (edited October 27, 1999).]
I feel like a dummy though! I was testing something when I commented out both mailprog routines. My fault, I should have rechecked!
Secondly, the 500 server errors were because I forgot to put the \@ in my email address. Fixed it and boom!!!!!! This actually happened to me on another perl script and I should have remembered. Goes to show to all out there, read the documentation!!
Finally, now I can work on the Cron event. Here is what I have for the .sh file:
Code:
# Send Reminder Email to a user requesting them to make sure they have updated thier records and then log the actions /home/web/guide/yorkphiladelphia/jobtrack/mailer.cgi > /home/web/guide/yorkphiladelphia/jobtrack/remindlog.txt
Then in my mailer txt file for the Cron event I have as follows:
Code:
# Send reminder email on day 1 and day 15 of every month at 7:00 a.m. 0 7,1,15, * * /home/web/guide/yorkphiladelphia/jobtrack/mailer.sh
I came up with these by following the tutorial in the thread www.gossamer-threads.com/scripts/resources/Detailed/244.html .
Does it all look kosher, Eliot? If it does, I am a happy camper
Also, if this is correct, it will be a guide for others out there trying to implement your wonderful script (since there aren't too many examples of a Cron event in the forum). Any other tricks you can mention, please feel free to do so!
Thanks again. Your services are very much appreciated!
[This message has been edited by BrianYork (edited October 27, 1999).]
[This message has been edited by BrianYork (edited October 27, 1999).]