Hi All,
Has any one manage to schedule tellstick in crontab this is my command
this one did not start or stop
crontab -e
16 0 * * * tdtool -n 1
18 0 * * * tdtool -f 1
this one did not work
20 0 * * * tdtool --on 1
25 0 * * * tdtool --off 1
Please can some one tell me where an I going wrong
Best Regards
Madman100
Raspberry pi 2 tellstick scheduling in crontab
Moderator: Telldus
Re: Raspberry pi 2 tellstick scheduling in crontab
Hi Guys
It now working from crontab but is a hour out for some reason I have schedule it for 20:00pm but it turns the light on at 21:00pm.
command
## Köket
# Power on 20:20
20 20 * * * /usr/local/bin/tdtool --on 1 > /dev/null>&1
# Power off 20:00
00 20 * * * /usr/local/bin/tdtool --off 1 > /dev/null>&1
Regards
madman100
It now working from crontab but is a hour out for some reason I have schedule it for 20:00pm but it turns the light on at 21:00pm.
command
## Köket
# Power on 20:20
20 20 * * * /usr/local/bin/tdtool --on 1 > /dev/null>&1
# Power off 20:00
00 20 * * * /usr/local/bin/tdtool --off 1 > /dev/null>&1
Regards
madman100
Re: Raspberry pi 2 tellstick scheduling in crontab
Have you tried to set the correct timezone ??
Maybe you : sudo raspi-config
Or:
sudo dpkg-reconfigure tzdata
Maybe you : sudo raspi-config
Or:
sudo dpkg-reconfigure tzdata
Re: Raspberry pi 2 tellstick scheduling in crontab
Hi patrikg,
Thanks for replying the problem is sorted once I did raspi-config and went in to the time zone I notice that I was running on the wrong time zone.
Thanks
Madman100
Thanks for replying the problem is sorted once I did raspi-config and went in to the time zone I notice that I was running on the wrong time zone.
Thanks
Madman100