View Single Post
Old 03-26-2011, 01:26 PM  
camperjohn64
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,531
Why would you need that? If there is a memory leak or something, that needs to be addressed first. Solve the problem, not the symptom.

But that wasn't your question was it? I understand that is probably what you've already tried.

I would experiement with putting it into a PHP script that simply does a `reboot`; I am not sure if you could launch reboot directly from a cron job.

Code:
<?php

 `reboot`;

?>
*Notice the backwards quote.

Then your cron job does:

php /home/folder/reboot.php
__________________
www.gimmiegirlproductions.com
camperjohn64 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote