Changes

Jump to navigation Jump to search
m
no edit summary
Line 257: Line 257:  
A script can be made and placed in cron.daily which will run every hour. Every time the above command is run in Asterisk, it creates a new file. An example of such a script is below
 
A script can be made and placed in cron.daily which will run every hour. Every time the above command is run in Asterisk, it creates a new file. An example of such a script is below
 
  #!/bin/sh asterisk -r -x "voter record instance_id /tmp/voter-record"`date +%F-%H-%M` >> /var/log/voterrecordlog
 
  #!/bin/sh asterisk -r -x "voter record instance_id /tmp/voter-record"`date +%F-%H-%M` >> /var/log/voterrecordlog
 +
the /tmp/ directory can be substituted for mounted USB HDD.
12

edits

Navigation menu