[Mystik_Cool]
10-14-2001, 10:31 AM
I know there are a lot of howto, man pages and topic on this forum about cron, but my problem is quite... different and I didn't find the solution in reading all that.
I wrote a little prog in C++ to check if I'm connected, and if I'm not then it reconnects me and mail me my new ip.
I wanted this to run every 5 minutes, so I wrote a crontab like this :
5,10,...,55 * * * * root /bin/sh /connect/reconnect
(the program I want to run is in /connect/reconnect).
But now, every 5 minutes, I get a message saying : "linux modprobe : modprobe : can't locate module net-pf-10".
When I run my program manually, everything works fine.
What's the problem ? Do I need to install this module ? If yes, how ? (I'll certainly have to recompile then, so when I ask "how" I simply mean which option should I add in my kernel configuration ?)
Thanx !
PS: if you need the source of the C++ program I want to run, simply say it...
I wrote a little prog in C++ to check if I'm connected, and if I'm not then it reconnects me and mail me my new ip.
I wanted this to run every 5 minutes, so I wrote a crontab like this :
5,10,...,55 * * * * root /bin/sh /connect/reconnect
(the program I want to run is in /connect/reconnect).
But now, every 5 minutes, I get a message saying : "linux modprobe : modprobe : can't locate module net-pf-10".
When I run my program manually, everything works fine.
What's the problem ? Do I need to install this module ? If yes, how ? (I'll certainly have to recompile then, so when I ask "how" I simply mean which option should I add in my kernel configuration ?)
Thanx !
PS: if you need the source of the C++ program I want to run, simply say it...