forked from norman/fusionpbx-install.sh-github-mirror
Install Cron (#422)
Debian 12 doesn't always have crontab command available
This commit is contained in:
1
debian/resources/finish.sh
vendored
1
debian/resources/finish.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user