First of all, please excuse me for my English.
I need to automatically run a script every time after rebooting the router, as well as the cron once a week.
The problem is that the execution time of this script is about 11-12 minutes. If I add it to one of the standard user scripts (for example, post-mount), its execution stops after 120 seconds. If I run it manually - it works fine.
Is there any way to automatically execute this script during/immediately after router reboot?
I need to automatically run a script every time after rebooting the router, as well as the cron once a week.
The problem is that the execution time of this script is about 11-12 minutes. If I add it to one of the standard user scripts (for example, post-mount), its execution stops after 120 seconds. If I run it manually - it works fine.
Is there any way to automatically execute this script during/immediately after router reboot?