Install Cron

Debian 12 doesn't always have crontab command available
This commit is contained in:
demonspork 2024-02-14 17:28:00 -06:00 committed by GitHub
parent 1e19d61b18
commit d44c2c5890
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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