Re: [PHP] reboot pc with PHP

2003-08-28 Thread Matthew Harrison
chown 700 /directory/for/rrebootfile > chown apache.nobody /directory/for/rrebootfile > > > -Mensaje original- > De: Matthew Harrison [mailto:[EMAIL PROTECTED] > Enviado el: jueves, 28 de agosto de 2003 15:49 > Para: Javier Tacon > CC: Petre Agenbag; [EMAIL PROTECTED]

Re: [PHP] reboot pc with PHP

2003-08-28 Thread Matthew Harrison
On Thu, Aug 28, 2003 at 03:35:59PM +0200, Javier Tacon wrote: > > A more easy solution is that: > > Make a cron that executes every minut /tmp/rreboot.sh for user root > crontab -e > Add the line: > * * * * * /tmp/rreboot.sh > > The script is: > /tmp/rreboot.sh > --- > #!/bin/sh > i