Hello Henrik
Basically you want to make like a calendar trigger, isn't it?
Sadly there is no built int tool to program such task, what you can do for sure is to make some kind of script that checks every certain amount of time if it is already the corresponding date and time.
Right now we don't have any script like that that we could provide, but there are a few example here in the crowd support of people that have written a few scripts.
As for example:
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
#curl -X GET "http://192.168.2.1/cgi-bin/io_state?username=admin&password=extreme123&pin=dio0&state=on"
service cron restart
/etc/init.d/cron enable
. /usr/share/libubox/jshn.sh
json_init
MSG=`ubus call ioman.gpio.dio0 status`
json_load "$MSG"
json_dump
json_get_var var1 value
if [ $var1 = 1 ]; then
sleep 1
curl -X GET "http://192.168.2.1/cgi-bin/io_state?username=admin&password=extreme123&pin=dio0&state=off"
else sleep 1;
fi
exit 0
Then I added this to Crontabs File /etc/crontabs/root
*/1 * * * * sh /etc/rc.local