Avete dei problemi sull’avvio degli script in Ubuntu Server, ecco la possibile soluzione:
La soluzione consiste nel cambiare la shell di default di Ubuntu che è dash, con la ben più nota bash.
Controllate che abbiate queste impostazioni e nel caso positivo procedere:
$ ls -l /bin/sh lrwxrwxrwx 1 root root 4 2013-04-10 10:10 /bin/sh -> dash $ sudo rm /bin/sh $ sudo ln -s /bin/bash /bin/sh $ ls /bin/sh -l lrwxrwxrwx 1 root root 9 2013-04-10 10:12 /bin/sh -> /bin/bash
Ora non resta che riavviare cron e avere tutto funzionante
$ sudo service cron restart $ sudo service cron status cron start/running, process 15548