script/crontask

Fri, 07 May 2021 13:20:53 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 07 May 2021 13:20:53 +0200
changeset 746
44d929ff268e
parent 257
62e294ab94f5
permissions
-rw-r--r--

Can start the daemon as root, and it will drop privileges.

#!/bin/sh

cd $HOME/www
php crontasks.php

mercurial