First of all I want to thank newtolinux, ferdi,lfc4ever, thanks to them we could create this script and especially its creator rcm1379, which without it would not be here.
* the script does do a "check" on oscam.log on OSCAM known errors.
"not found"
"exit with signal"
"timeout"
"process does not exist"
starts if we have the internet and the routes are correct.
the debug script is oscam.log.script and has tried to have a log there as full as possible.
Peron my language.
you only have to put your route and call it with cron
enyoy!!!