gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get confussed with sendsms via cron


From: Januar V. Simarmata
Subject: Re: get confussed with sendsms via cron
Date: Mon, 11 Jul 2005 14:54:34 +0700

What user owns the cron? Does it has exec access to your script?

Let's us know you cron entry, and we'll find out.

Thanks,


On 7/11/05, address@hidden <address@hidden > wrote:


Hello everybody, im noob in gnokii. I get a problem here.
i have a perl script like this

#!/usr/bin/perl
use strict;

my $message = "this sentence should be sended";
my $destination = "0813186575XX";
my $to_exec = "/bin/echo \"".$message."\" | /usr/local/bin/gnokii --sendsms
$destination \004";
system($to_exec);
sleep(10);

It's OK if I call that script directly from shell. But when I install the script
in my cron job. It does not work

anybody could help me. thax

rasix


_______________________________________________
gnokii-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gnokii-users



--
Januar V. Simarmata
Mob: 62 (0) 818918782
Y! : januarvs
MSN Id: address@hidden
Skype Id: januarvs
Blog: http://januarvs.blogspot.com
reply via email to

[Prev in Thread] Current Thread [Next in Thread]