[KLUG Members] Fw: [linux-Ahmedabad-users] help regarding scheduling of files

Adam Tauno Williams members@kalamazoolinux.org
Wed, 31 Mar 2004 13:15:17 -0500


> > i need help regarding scheduling of my program.
> > What i want to do is whenever a client boots up i want
> > it to fetch a configuration file from the server. now
> > i have  written a program in C using sockets which
> > uses the HTTP GET method to fetch the file but i want

Why not just use curl or wget?

wget -q -O - http//nakedgeeks.ru/configFile.text > yoyoConfig.cf

> > to know how will it be possible to run it everytime
> > the machine boots up. I know there is CRON but can
> > something like "run at startup" cant be provided
> > through CRON i think. if can please tell me how as far

Put it in /etc/rc.d/rc.local

> > as i know you can specify the time during the day in
> > CRON.Are there any system functions that i can use to
> > do this thing.