[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
get confussed with sendsms via cron
From: |
if12076 |
Subject: |
get confussed with sendsms via cron |
Date: |
Mon, 11 Jul 2005 10:42:28 +0700 |
User-agent: |
Internet Messaging Program (IMP) 3.2.2 |
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
- get confussed with sendsms via cron,
if12076 <=