Notices


Reply
Thread Tools
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#11
in x-term:
sudo gainroot
chmod +x /home/user/MyDocs/sendsms.py
chown user:users /home/user/MyDocs/sendsms.py
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#12
Originally Posted by CepiPerez View Post
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.)
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#13
Yes I forgot that
I have all my scripts in /home/user/scripts
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#14
I tried not to run it gives errors.

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

Any ideas?
 
Posts: 671 | Thanked: 1,630 times | Joined on Aug 2010
#15
Put in /usr/local/sbin
chmod to 755
in xterm:

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

works for me. thanks all
__________________
Three n900s: One for stable working platform,
One for development testing Chopping Onions
One for saltwater immersion power testing resurrected ! parts scavenging

My Mods for Wonko's Advanced Clock Plugin:
ISO8601 clock mod and Momental_IST clock mod

Printing your Email with the N900
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#16
"sendsms.py" I have never worked
 
Posts: 27 | Thanked: 3 times | Joined on May 2010 @ India
#17
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
 
Posts: 671 | Thanked: 1,630 times | Joined on Aug 2010
#18
Originally Posted by mramkumar7 View Post
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.
__________________
Three n900s: One for stable working platform,
One for development testing Chopping Onions
One for saltwater immersion power testing resurrected ! parts scavenging

My Mods for Wonko's Advanced Clock Plugin:
ISO8601 clock mod and Momental_IST clock mod

Printing your Email with the N900
 

The Following User Says Thank You to theonelaw For This Useful Post:
danx's Avatar
Posts: 304 | Thanked: 20 times | Joined on Jan 2010 @ irvine
#19
how about e mails , cantbis be done with it .
 
Posts: 27 | Thanked: 3 times | Joined on May 2010 @ India
#20
Originally Posted by theonelaw View Post
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!!!
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:06.