September 14Sep 14 Hi folks,i need some help to debug an issue. On my froxlor system with latest froxlor 2.2.8 on Debian 12 sents the quota mails on first of month every hour. Both quota: traffic and storage mails are effected and the values are based on the calculation of last month.1) is this a "wanted" behaviour, that the mails are sent out every hour?2) I do not find a dedicated cronjob for these mailout taskand no setting to adjust the sent out freuqency. Which job is taking care of the mails?My /etc/cron.d/froxlor looks like this:# 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 # */2 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'tasks' -q 1> /dev/null 0 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'traffic' -q 1> /dev/null 3 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'usage_report' -q 1> /dev/null 6 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'mailboxsize' -q 1> /dev/null */10 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'letsencrypt' -q 1> /dev/null 9 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'export' -q 1> /dev/null # Look for and purge old sessions every 30 minutes 09,39 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/bin/froxlor-cli froxlor:php-sessionclean 1> /dev/null
September 14Sep 14 it usually sets the column reportsent to 1 for admins and customers.Your crontab file looks like you manually adjusted the time intervals. this is what a default created cron.d file looks like (notice 'traffic' and 'usage_report' difference regarding the HOUR...):*/5 * * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'tasks' -q 1> /dev/null 0 0 * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'traffic' -q 1> /dev/null 5 0 * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'usage_report' -q 1> /dev/null 0 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'mailboxsize' -q 1> /dev/null 3 */6 * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'letsencrypt' -q 1> /dev/null 6 * * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:cron 'export' -q 1> /dev/null # Look for and purge old sessions every 30 minutes 09,39 * * * * root /usr/bin/nice -n 5 /usr/bin/php8.2 -q /var/www/html/froxlor/bin/froxlor-cli froxlor:php-sessionclean 1> /dev/null
September 14Sep 14 Author Thanks. But the interesting thing is, that i've already created this cronfile as a first solution attempt with the command given from froxlor config area in the web ui. I've tested it again, the new created file is exactly this one i've posted. But you are totally right, running only once a day makes totally sense.The setup was originally made with a version < 1 and continously updated. Maybe this is the reason?
September 14Sep 14 do not manually create this file...it's based on settings in the webui....go to "System -> Cronjob settings"
September 15Sep 15 Author These are my settings.... what are the defaults there? Thanks for your patience :)
September 15Sep 15 it literally says "1" and "HOUR" (Stunden) in your case...simply set it to "1" and "DAYS" (Tage)
September 20Sep 20 Author Thanks. Change config in UI and updated cronjob. Lets see whats happen next month 1st :)
Create an account or sign in to comment