Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
How to do scripts if i want automated run the job by following system time?I want to do every day around 4.00pm and 6.00pm automatic send sms to mobile phone.
Example single command send out sms:
echo "update me please" | gnokii --sendsms mobile no (this is for 4.00pm)echo "send me the report" | gnokii --sendsms mobile no (this is for 6.00pm)
I'm using fedora 10 and gnokii attached to phone... please guide me on this. Thanks.

I don't know anything about your cell phone commands, but the cron facility is one way of sending automated commands in Unix/Linux. Check out this article:
http://www.adminschoice.com/docs/cr...
It's untested, but to execute a shell script at 4 & 6 PM would be something like:
0 16,18 * * * /path/to/myscript
Obviously, myscript contains your cell phone commands.
Place the above line in a file and do this from the command line:
crontab < afile
and that sets your cron entry.

![]() |
red hat linux hard drive ...
|
Making Mepis 2004 boot us...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |