OS Ubuntu 12.04. Сайт расположен по пути /var/www/html/
При добавлении задания в cron
Код: Выделить всё
@reboot php /var/www/html/cycle.php>/var/www/html/cycle.log
Код: Выделить всё
Feb 06, 2013 14:07:27 html/index.php?pd=pz_pz_YXBwbGljYXRpb246e2FjdGlvbj1tZW51fQ%3D%3Dpz_&md=shoutbox&inst=&&limit=10&getdata=1
Error:
2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)<br>
Код: Выделить всё
php /var/www/html/cycle.php>/var/www/html/cycle.log
Код: Выделить всё
Starting ./scripts/cycle_scheduler.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_bluetooth.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_states.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_webvars.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_skype.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_execs.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_main.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_onewire.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_watchfolders.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_rss.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_onewire_starred.php ...
06.02.2013 14:33:58
Starting ./scripts/cycle_ping.php ...
06.02.2013 14:33:59
Cycle running OK: cycle_scheduler.php
06.02.2013 14:33:59
Cycle running OK: cycle_states.php
06.02.2013 14:33:59
Cycle running OK: cycle_execs.php
06.02.2013 14:33:59
Cycle running OK: cycle_webvars.php
06.02.2013 14:33:59
Cycle running OK: cycle_main.php
06.02.2013 14:33:59
Closing thread: php -q ./scripts/cycle_bluetooth.php --params "a:0:{}"
06.02.2013 14:33:59
Closing thread: php -q ./scripts/cycle_skype.php --params "a:0:{}"
06.02.2013 14:33:59
Cycle running OK: cycle_watchfolders.php
06.02.2013 14:33:59
Cycle running OK: cycle_ping.php
06.02.2013 14:33:59
Cycle running OK: cycle_rss.php
06.02.2013 14:33:59
Cycle running OK: cycle_onewire_starred.php
06.02.2013 14:33:59
Cycle running OK: cycle_onewire.php