[App_rpt-users] Crontab with DIAL on RPi 2

Steve Zingman szingman at msgstor.com
Tue Jan 26 17:59:40 UTC 2016


If you want to run a script daily, the easy way is to create the script 
you want to use, verify it works and drop the script or a link to the 
script in /etc/cron.daily.
For crontab:
# m h  dom mon dow   command
* 23 * * * /sbin/reboot

73, Steve N4IRS

On 1/26/2016 12:52 PM, kk6ecm wrote:
> We are running our repeater using DIAL on a RPi 2, and asterisk seems to just stop running at times, but Linux is happy. A reboot corrects it for awhile. I've also restarted asterisk. On our ACID system with the Atom computer, we seemed to have the same thing happen, so I used crontab to perform a restart weekly, which seemed to correct the issue until we actually had an identifiable hardware issue, then we installed the Pi.
>
> I've attempted to set up a crontab to do either an asterisk stop/start sequence, or a reboot, but neither seem to work, so I'm wondering why? We've also tried to reboot in crontab using the same reboot sequence as we use for rebooting via the radio, using DTMF in rpt.conf; "/sbin/reboot" ; this works from the radio.
>
> Also, cop,1 does not seem to restart asterisk in rpt.conf. I'm wondering if these are known issues, or am I doing something incorrectly?
>
> Thanks,
> Bob
> kk6ecm
>
> Sent from iPad
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.




More information about the App_rpt-users mailing list