Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
A script that auto sends email
Name: kakarukeys Date: May 16, 2006 at 19:14:56 Pacific OS: Debian Linux CPU/Ram: P4 / 256Mb Product: DELL
Comment:
Does anyone know a script that auto sends a pre-written message every day to a same email address?
Name: Dlonra Date: May 17, 2006 at 16:57:57 Pacific
Reply:
do you have shell scripting experience? if so, a cron entry invoking a short script which invokes mail(1) will do it.
0
Response Number 2
Name: kakarukeys Date: May 17, 2006 at 17:56:32 Pacific
Reply:
No.
I will try to look up cron and mail. But it will be nice if you can do it for me? It should take you only one minute to write the script? whereas for me, could be 1 day?
Is it essential that I need a SMTP server?
0
Response Number 3
Name: 3Dave Date: May 18, 2006 at 02:58:41 Pacific
Reply:
You will need to connect to some kind of mail server unless you plan to connect by hand to each mail server that handles mail that you want to send to. Your ISP should provide you with and SMTP server or you could configure your own. Easiest way in a script would be to get the command line mail program able to send external emails. "man mail" for more info.
Summary: I want a script that adds new users manually in the /etc/passwd file. I do not want to use a adduser command. I mean if the file i create is addinguser, than the command ./addinguser username uid gi...
Summary: I need a script that registers user logons on my system: Could anyone help me writing a script that does the following: everytime a user logs (locally or remotely) to mu Linux box, the PID of each pro...
Summary: I am trying to write a script that types in the gpg passphrase and I can't get it to work I can get the phassphrase to echo back by doing gpg --passphrase-fd 0 | echo passphrase. Does anyone know how...