sed -i '1i\
#!/usr/bin/php' /var/www/dart/blocks/cron/update.php
не вывел ничего
а благодаря victor00000 нашлись кроновские логи))))
root@newdart-10732:~# cat /var/log/syslog | grep CRON
May 11 06:39:01 newdart-10732 CRON[18691]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 07:09:01 newdart-10732 CRON[18707]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 07:17:01 newdart-10732 CRON[18722]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 07:39:01 newdart-10732 CRON[18725]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 08:09:01 newdart-10732 CRON[18742]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 08:17:01 newdart-10732 CRON[18760]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 08:39:01 newdart-10732 CRON[18845]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 09:09:01 newdart-10732 CRON[18888]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 09:17:01 newdart-10732 CRON[18904]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 09:39:01 newdart-10732 CRON[18908]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 10:09:01 newdart-10732 CRON[19001]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 10:17:01 newdart-10732 CRON[19077]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 10:39:01 newdart-10732 CRON[27387]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 10:50:01 newdart-10732 CRON[27422]: (root) CMD (/var/www/dart/blocks/cron/update.php)
May 11 10:50:01 newdart-10732 CRON[27421]: (CRON) info (No MTA installed, discarding output)
May 11 11:05:01 newdart-10732 CRON[27574]: (root) CMD (/var/www/dart/blocks/cron/update.php)
May 11 11:05:01 newdart-10732 CRON[27573]: (CRON) info (No MTA installed, discarding output)
May 11 11:09:01 newdart-10732 CRON[27583]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 11:15:01 newdart-10732 CRON[27736]: (root) CMD (root /var/www/dart/blocks/cron/update.php)
May 11 11:15:01 newdart-10732 CRON[27735]: (CRON) info (No MTA installed, discarding output)
May 11 11:17:01 newdart-10732 CRON[27738]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 11:39:01 newdart-10732 CRON[27744]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 16:09:01 newdart-10732 CRON[27834]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 16:17:01 newdart-10732 CRON[27860]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 16:39:01 newdart-10732 CRON[27993]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 16:40:01 newdart-10732 CRON[28013]: (root) CMD (/usr/bin/php-cli -q /var/www/dart/blocks/cron/update.php)
May 11 16:40:01 newdart-10732 CRON[28012]: (CRON) info (No MTA installed, discarding output)
May 11 16:58:53 newdart-10732 cron[28048]: (CRON) INFO (pidfile fd = 3)
May 11 16:58:53 newdart-10732 cron[28049]: (CRON) STARTUP (fork ok)
May 11 16:58:53 newdart-10732 cron[28049]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
May 11 17:00:01 newdart-10732 CRON[28053]: (root) CMD (/var/www/dart/blocks/cron/update.php)
May 11 17:00:01 newdart-10732 CRON[28052]: (CRON) info (No MTA installed, discarding output)
May 11 17:09:01 newdart-10732 CRON[28058]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 17:17:01 newdart-10732 CRON[28079]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 17:39:01 newdart-10732 CRON[28085]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 18:09:01 newdart-10732 CRON[28106]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 18:17:01 newdart-10732 CRON[28125]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 18:39:01 newdart-10732 CRON[28191]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 18:40:01 newdart-10732 CRON[28207]: (root) CMD (/usr/sbin/php /var/www/dart/blocks/cron/update.php )
May 11 18:40:01 newdart-10732 CRON[28206]: (CRON) info (No MTA installed, discarding output)
May 11 19:09:01 newdart-10732 CRON[28229]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 19:10:01 newdart-10732 CRON[28537]: (root) CMD (/usr/sbin/php /var/www/dart/blocks/cron/update.php )
May 11 19:10:01 newdart-10732 CRON[28536]: (CRON) info (No MTA installed, discarding output)
May 11 19:17:01 newdart-10732 CRON[28540]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 19:39:01 newdart-10732 CRON[28544]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 20:09:01 newdart-10732 CRON[28578]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 20:17:01 newdart-10732 CRON[28628]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 20:39:01 newdart-10732 CRON[28631]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 20:46:01 newdart-10732 CRON[28805]: (root) CMD (/usr/sbin/php /var/www/dart/blocks/cron/update.php )
May 11 20:46:01 newdart-10732 CRON[28804]: (CRON) info (No MTA installed, discarding output)
May 11 21:09:01 newdart-10732 CRON[29636]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
May 11 21:17:01 newdart-10732 CRON[29943]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)