Cronjobs bei Netcup ins WCP hinzufügen

  • Hallo zusammen,


    kann mir jemand helfen, wie ich bei Netcup folgende Cronjobs einfügen kann ?

    Cronjobs für das Easy WI.


    Code
    0 */1 * * * cd /var/www/vhosts/hosting112821.a2f96.netcup.net/Webinterface && timeout 300 php ./reboot.php >/dev/null 2>&1
    */5 * * * * cd /var/www/vhosts/hosting112821.a2f96.netcup.net/Webinterface && timeout 290 php ./statuscheck.php >/dev/null 2>&1
    */1 * * * * cd /var/www/vhosts/hosting112821.a2f96.netcup.net/Webinterface && timeout 290 php ./startupdates.php >/dev/null 2>&1
    */5 * * * * cd /var/www/vhosts/hosting112821.a2f96.netcup.net/Webinterface && timeout 290 php ./jobs.php >/dev/null 2>&1
    */10 * * * * cd /var/www/vhosts/hosting112821.a2f96.netcup.net/Webinterface && timeout 290 php ./cloud.php >/dev/null 2>&1


    Gruß Malte

  • Hallo Malte,


    timeout gehört nicht zum POSIX-Standard. Da müsstest du über SSH einmal gucken, ob du timeout nutzen kannst.

    Das PHP Executable findest du unter /usr/local/php[PHPVERION]/bin/php und gehört vermutlich nicht zur PATH-Variable.


    Ich hoffe das hilft dir weiter.