LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-24-2004, 02:54 PM   #1
andresurzagasti
Member
 
Registered: Sep 2002
Location: Reconquista
Distribution: RedHat, Fedora
Posts: 38

Rep: Reputation: 15
PPPD Script problem when cron-scheduling the script


Hi everyone!!

I have a perl script that runs fine from my user (root user), but errors when cron runs it.

I´m scheduled in crontab a pppd connection (dialup), with the set of scripts

/usr/sbin/ppp-on
/etc/ppp/ppp-on-dialer
/usr/sbin/ppp-off

I can connect OK if I run directly from shell the script /usr/sbin/ppp-on,
but if the connection is scheduled by crontab, pppd returns the message "Connect script failed"

I have read and test with a wrapper script (like that post http://www.linuxquestions.org/questi...postid=1312251 ) , but this does not resolve my problem.

Any ideas?
Regards
Andres
Argentina
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
Problem With Script in cron.daily fizbang Linux - Newbie 10 03-21-2005 10:23 AM
scheduling a Script mustang05 Linux - General 5 05-12-2004 08:20 PM
PPPD how do I know what to put in the script? jimdaworm Slackware 4 02-29-2004 12:02 PM
cron problem with script lifetaster Linux - Newbie 3 02-24-2004 12:26 AM


All times are GMT -5. The time now is 04:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration