i just want to restart vicidial with a cronjob every morning, i can't do a reboot.
if i execute the script vom command line, it works, but as a cronjob -it doesen't.
i tried the following
- Code: Select all
0 5 * * * /etc/init.d/vicidial restart
0 5 * * * bash -c "/etc/init.d/vicidial restart"
i only see this in /var/log/messages
- Code: Select all
Feb 26 08:28:02 ka-vici-demo kernel: [ 1763.217380] dahdi: Telephony Interface Unloaded
Feb 26 08:28:02 ka-vici-demo kernel: [ 1763.609981] dahdi: Telephony Interface Registered on major 196
Feb 26 08:28:02 ka-vici-demo kernel: [ 1763.609987] dahdi: Version: 2.3.0.1
Feb 26 08:28:05 ka-vici-demo kernel: [ 1766.629007] dahdi: Registered tone zone 0 (United States / North America)
asterisk stops, but nothing else.
i'm using vicibox redux 3.0.5
regards
philip