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 ...

--clip--
#!/usr/bash

/usr/bin/shutdown -Fr now
--clip--

Then edit the crontab or cron to put in the time you want the machine to be
rebooted.


"1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message
016201c22e91$ddb5a5c0$a529089b@TB447CCO3">news:016201c22e91$ddb5a5c0$a529089b@TB447CCO3...
> >>-Can we reboot a linux server using a php page?
> >Yes.
> >>-And is it recommended?
> >No.
>
> Can I get the URL of that page so I can put it in my cron file?
>
> ---John Holmes...
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to