Page 1 of 1

Homeautomation. Problems with scheduled events

Posted: 24 Mar 2011, 02:43
by merik
Hello!
The scheduled events is not executed.
I see events in the upcoming events but they are not executed.
However, it is possible to turn on and off on the icon next to the event and also in devices manually.
I see nothing in the log that the event has be performed.
I use home automation 2.0.2, release 2011-03-09.
I have is not tried any previous version of home automation and is new to the area.

I have a version in Swedish, so I'm a little unsure of what kind of name headings, etc. it is in the English versions.

Re: Homeautomation. Problems with scheduled events

Posted: 24 Mar 2011, 03:01
by DanielM
Did you read the manual carefully? Sounds like something is wrong with either cron or at. Check the /etc/cron.deny, /etc/at.deny, /etc/cron.allow and /etc/at.allow files (if they exist).

If so, could you issue the following commands (logged in as root) and post the output?

Code: Select all

atq
cron -u www-data -l
/Daniel

Re: Homeautomation. Problems with scheduled events

Posted: 24 Mar 2011, 04:11
by merik
at.deny exist but not the other files you mention.
But i do have files like cron.d, cron.daily, cron.hourly, monthly and weekly.

Re: Homeautomation. Problems with scheduled events

Posted: 24 Mar 2011, 04:21
by merik
I removed www-data from at.deny and now it seems to work.

Thank you DanielM

Re: Homeautomation. Problems with scheduled events

Posted: 24 Mar 2011, 04:25
by DanielM
merik wrote:I removed www-data from at.deny and now it seems to work.

Thank you DanielM
You're welcome. Good to hear that it works!

/Daniel