maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   is it possible to send a text with alarmed? (https://talk.maemo.org/showthread.php?t=62754)

CepiPerez 2010-09-22 23:21

Re: is it possible to send a text with alarmed?
 
in x-term:
sudo gainroot
chmod +x /home/user/MyDocs/sendsms.py
chown user:users /home/user/MyDocs/sendsms.py

j.s 2010-09-23 00:08

Re: is it possible to send a text with alarmed?
 
Quote:

Originally Posted by CepiPerez (Post 823927)
in x-term:
sudo gainroot
chmod +x /home/user/MyDocs/sendsms.py
chown user:users /home/user/MyDocs/sendsms.py

Mydocs is a stupid FAT partition. chmod and chown do not work.

/home/user is a better place for this. Maybe /home/use/bin or /home/user/scripts. (May need to create.)

CepiPerez 2010-09-23 00:12

Re: is it possible to send a text with alarmed?
 
Yes I forgot that
I have all my scripts in /home/user/scripts

WhiteWolf 2010-09-29 19:34

Re: is it possible to send a text with alarmed?
 
I tried not to run it gives errors.

The problem is that not send any sms, because recipients do not receive them.

Any ideas?

theonelaw 2011-01-16 10:23

Re: is it possible to send a text with alarmed?
 
Put in /usr/local/sbin
chmod to 755
in xterm:

/usr/local/sbin/sendsms.py 08numeric**** "message"

works for me. thanks all

WhiteWolf 2011-01-16 15:37

Re: is it possible to send a text with alarmed?
 
"sendsms.py" I have never worked

mramkumar7 2011-01-21 20:29

Re: is it possible to send a text with alarmed?
 
in xterm when i try to run it, its saying no such file or directory, this is how i ran it,

Went to the location of sendsms.py (/home/user/SendSchedSMS/)and typed the following

./sendsms.py numericnumber "Message"

No Such File or Directory is what i get

theonelaw 2011-01-22 14:35

Re: is it possible to send a text with alarmed?
 
Quote:

Originally Posted by mramkumar7 (Post 925663)
in xterm when i try to run it, its saying no such file or directory, this is how i ran it,

Went to the location of sendsms.py (/home/user/SendSchedSMS/)and typed the following

./sendsms.py numericnumber "Message"

No Such File or Directory is what i get

Need to move it off /home/user because that is a FAT partition,
best stick it in /usr/sbin maybe, and chmod 755

Someone else may have a better solution,
but that works for me.

danx 2011-01-22 15:02

Re: is it possible to send a text with alarmed?
 
how about e mails , cantbis be done with it .

mramkumar7 2011-01-23 10:12

Re: is it possible to send a text with alarmed?
 
Quote:

Originally Posted by theonelaw (Post 926072)
Need to move it off /home/user because that is a FAT partition,
best stick it in /usr/sbin maybe, and chmod 755

Someone else may have a better solution,
but that works for me.

Even now i am getting the same message... that no such file or directory.

is the syntax right?

./sendsms.py <number> <message inside quotes>

someone help!!!


All times are GMT. The time now is 08:48.

vBulletin® Version 3.8.8