Sample Header Ad - 728x90

reloading asterisk cronjob

0 votes
1 answer
687 views
I'm trying to create a crontab job that reloads the asterisk config (sip.conf). Running the command manually, works: /usr/sbin/asterisk -rx "reload" manually running the script with executable permissions, does not. my script is just 2 lines #!/bin/bash /usr/sbin/asterisk -rx "reload" should i just try to run /usr/sbin/asterisk -rx "reload" straight from crontab, without actually having a .sh file somewhere?
Asked by Eric (1 rep)
Jul 9, 2021, 11:26 PM
Last activity: Jul 10, 2021, 11:09 AM