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