man crontab essentially you just need to load it into your crontab.
crontab /path/to/cron.txt should do it. -=- What I do is keep a file in my home directory called crontab.txt That's the file I edit. When I add something to my crontab- I add it to that file. Then I run crontab ~/crontab.txt to load it. This is important because the crontab command deletes everything currently in your crontab (probably nothing if you've never done this before) replacing it with the contents of the text file you specify. On Thu, 31 Jan 2002 17:59:00 +0100 "Pafo" <[EMAIL PROTECTED]> mentioned: > you can get a file on your site to be exec every x minuts with lynx.... > but i dont understand how it works, i have created a "cron.txt" file and > put it in the folder where i want my script to be executed... the content > of this file looks like this: > > */5 * * * * /usr/bin/lynx --dump http://localhost/php/ppp.php > /dev/null > > but it dosent work, do i have to register the cronfile somewhere to make it > work...? > cause i want it to run this file every 5mins... is there any other way??? > > regards > pafo > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- -=-=-=-=-=-=-=-=-=-=-=-=- Michael A. Peters http://24.5.29.77:10080/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]