Add a cron job for call detail records.

This commit is contained in:
FusionPBX
2023-09-20 11:23:49 -06:00
committed by GitHub
parent eb17e2b443
commit 182cde2031
3 changed files with 21 additions and 0 deletions

View File

@@ -110,6 +110,9 @@ cp /var/www/fusionpbx/app/event_guard/resources/service/debian.service /etc/syst
/bin/systemctl start event_guard
/bin/systemctl daemon-reload
#add xml cdr import to crontab
cat <(crontab -l) <(echo "* * * * * $(which php) /var/www/fusionpbx/app/xml_cdr/xml_cdr_import.php 300") | crontab -
#welcome message
echo ""
echo ""