halfgaar Posted November 18, 2018 Share Posted November 18, 2018 /etc/cron.d/froxlor states that it is auto-generated, but mine is rather old: # lh froxlor -rw-r----- 1 root root 983 Oct 6 2014 froxlor It needs to have the 'php /var/www/froxlor/scripts/froxlor_master_cronjob.php --letsencrypt' call. I can add it, but isn't it supposed to be included automatically? Link to comment Share on other sites More sharing options...
d00p Posted November 18, 2018 Share Posted November 18, 2018 2014? holy moly...what's its content? Try this - after that it should be fine: php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug Link to comment Share on other sites More sharing options...
halfgaar Posted November 18, 2018 Author Share Posted November 18, 2018 It now says: # cat froxlor # automatically generated cron-configuration by froxlor # do not manually edit this file as it will be re-generated periodically. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null 0 0 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --traffic 1> /dev/null 5 0 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --used_tickets_reset 1> /dev/null 7 0 1 * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --ticketarchive 1> /dev/null 10 0 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --usage_report 1> /dev/null 0 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --mailboxsize 1> /dev/null I ran the update command, now it says: # cat froxlor # automatically generated cron-configuration by froxlor # do not manually edit this file as it will be re-generated periodically. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --letsencrypt 1> /dev/null 0 0 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --traffic 1> /dev/null 5 0 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --used_tickets_reset 1> /dev/null 7 0 1 * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --ticketarchive 1> /dev/null 10 0 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --usage_report 1> /dev/null 0 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --mailboxsize 1> /dev/null Will it update now? Or is it a bug that it didn't? Link to comment Share on other sites More sharing options...
d00p Posted November 18, 2018 Share Posted November 18, 2018 it should update the file when changes in the cron (or settings that affect the cron) are recognized or if you force the cron using --force Link to comment Share on other sites More sharing options...
John Thomson Posted December 22, 2018 Share Posted December 22, 2018 On a few recent installs I found the cron file wasn't regenerating unless I manually ran --force. Only noticed this because it wasn't adding --letsencrypt after enabling it in Froxlor, but I've not had a chance to do any digging into why it's not updating. Link to comment Share on other sites More sharing options...
d00p Posted December 22, 2018 Share Posted December 22, 2018 got that fixed in current dev version, normally the configs are being regenerated when settings change, just for got the task for the cron.d Link to comment Share on other sites More sharing options...
Question
halfgaar
/etc/cron.d/froxlor states that it is auto-generated, but mine is rather old:
# lh froxlor -rw-r----- 1 root root 983 Oct 6 2014 froxlor
It needs to have the 'php /var/www/froxlor/scripts/froxlor_master_cronjob.php --letsencrypt' call. I can add it, but isn't it supposed to be included automatically?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.