>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
[Perhaps there was even more text missing that made this all out of
context... Sorry.]
I
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 h
Or you could do that using php:
#!/usr/local/bin/php -q
(Note those are backticks, not apostrophes)
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you're going to use the cron
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
d
>>-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
This can be done using the exec() function, the php.net doc will explain how
it work. There are a few known problem as I can see if someone try to
reboot the Linux/Unix.
1) If the hacker break-in and take control of hte script. Who know what
could have happen.
2) If using encryption an
On Thu, 18 Jul 2002, Harpreet Kaur wrote:
>-
>-Can we reboot a linux server using a php page?
Yes.
>-And is it recommended?
No.
>-
>-Regards,
>-Harpreet Kaur
>-
>-
>-_
>-Join the worlds largest e-mail service with MSN Hotmail.
7 matches
Mail list logo