I'm new to newnigma2 on dm8000 and I am having a problem with Cron. I installed it normally and it's cron - 3.0pl1-r15. I've written my cronjob in /cron/tabs/root and it is simply:
I see cron is auto-running:
I also see in cron log at /cron/log that it is launching the command every other minute as expected:
So it all seems right.
That script in usb is quite long to be written here but basically it just adjusts the date from the net with a script and restarts oscam and samba if they're not running for any reason. And I can see it IS working because if I run it from terminal writing /media/usb/cron_jobs it just does its duties i.e. restarting samba that usually crashes without reason.
But strangely it does not do its duties with cron. I ask, what could be the reason? I tried crontab -e, relaunching cron, etc, but it does not do what it is expected to do. The only fact I don't understand is this error running "cron" manually:
but I don't think that's a real problem. That file contains the right pid, has the right permissions, start/stop/restart init.d script works as expected.
Hope someone got and idea.
I also see in cron log at /cron/log that it is launching the command every other minute as expected:
That script in usb is quite long to be written here but basically it just adjusts the date from the net with a script and restarts oscam and samba if they're not running for any reason. And I can see it IS working because if I run it from terminal writing /media/usb/cron_jobs it just does its duties i.e. restarting samba that usually crashes without reason.
But strangely it does not do its duties with cron. I ask, what could be the reason? I tried crontab -e, relaunching cron, etc, but it does not do what it is expected to do. The only fact I don't understand is this error running "cron" manually:
Hope someone got and idea.
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von cmatte ()