Hi,
I am new to using runit. Long ago I have used djb's daemontools and now
I have switched to runit.
Now I would like to setup a user level service which uses ssmtp to send
out reminders. The script looks as follows:
===============
#!/bin/sh
while :
do
ssmtp myemail_at_yahoo.com <mailto:myemail_at_yahoo.com> <
/home/user1/reminders/reminder1.txt
echo `date`: "Testing email script..." >> ./log.txt
sleep 5000
done
===============
All this was created as root on my Raspbian. The "log.txt" file has
entries for each interation but there is no email sent out. If I typed
in the ssmtp command in a terminal then the email does go out. What am
I missing here?
I would like to setup this as a user level service. How do I do that?
Any guidance and help appreciated. Thank you in advance.
Regards,
Subba Rao
Received on Wed Sep 11 2013 - 16:11:35 UTC
This archive was generated by hypermail 2.3.0
: Sun May 09 2021 - 19:44:18 UTC