Japp det ligger ett sådant jobb i crontab:
Code: Select all
01 00 * * * /usr/bin//php /home/pi/ha/run.php command=updateschedules >/dev/null 2>&1
Så här ser det det ut när jag kör kommandot innan jag gått in och kört "återskapa schemor"
Code: Select all
www-data@raspberrypi:/home/pi/ha$ php run.php command=updateschedules
Updating schedules
warning: commands will be executed using /bin/sh
job 263 at Mon Jul 9 20:39:00 2012
warning: commands will be executed using /bin/sh
job 264 at Mon Jul 9 22:00:00 2012
warning: commands will be executed using /bin/sh
job 265 at Mon Jul 9 23:00:00 2012
warning: commands will be executed using /bin/sh
job 266 at Mon Jul 9 23:00:00 2012
Code: Select all
www-data@raspberrypi:/home/pi/ha$ php run.php command=updateschedules
Updating schedules
warning: commands will be executed using /bin/sh
job 280 at Mon Jul 9 22:09:00 2012
warning: commands will be executed using /bin/sh
job 281 at Mon Jul 9 18:19:00 2012
warning: commands will be executed using /bin/sh
job 282 at Mon Jul 9 22:10:00 2012
warning: commands will be executed using /bin/sh
job 283 at Mon Jul 9 20:39:00 2012
warning: commands will be executed using /bin/sh
job 284 at Mon Jul 9 18:39:00 2012
warning: commands will be executed using /bin/sh
job 285 at Mon Jul 9 21:09:00 2012
warning: commands will be executed using /bin/sh
job 286 at Mon Jul 9 22:00:00 2012
warning: commands will be executed using /bin/sh
job 287 at Mon Jul 9 22:57:00 2012
warning: commands will be executed using /bin/sh
job 288 at Mon Jul 9 23:00:00 2012
warning: commands will be executed using /bin/sh
job 289 at Mon Jul 9 08:00:00 2012
warning: commands will be executed using /bin/sh
job 290 at Mon Jul 9 08:00:00 2012
warning: commands will be executed using /bin/sh
job 291 at Mon Jul 9 09:00:00 2012
warning: commands will be executed using /bin/sh
job 292 at Mon Jul 9 23:00:00 2012
Det är alltid samma händelser som inte kommer med nästkommande dag.
Skumt