On Friday 19 July 2002 04:26, Scott Fletcher wrote: > If you're going to use the cron file (or crontab) then php wouldn't work > because it is a programming languages for the web pages. For cron files or > crontab, you can use the bash shell or ksh or whatever you have. It's > simple. All you had to do is to create a file on hte Unix/Linux machine > and do the following ...
John's reply was meant to show that it is a very bad idea to allow someone reboot the server from a webpage (without the proper safeguards). If he had URL he could setup a cron job which would reboot the OP's computer every minute and that _wouldn't_ be fun. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The Public is merely a multiplied "me." -- Mark Twain */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php