OpenWrt Forum Archive

Topic: cronjobs

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I have to set a crontab string. (@reboot root sh /root/vpn.sh)

An entry in /etc/crontabs/root dont work after reboot.

How to set a cronjob to start opnevpn client @reboot ?

Best regards

Busybox crond does not support the @reboot directive. Next best place to put @reboot jobs is /etc/rc.local

thank you !

The discussion might have continued from here.