Jump to content
Froxlor Forum
  • 0

master cronjob


funklaedle

Question

Hallo, ich bekomme alle 5 min folgende Email, was könnte das sein ?

Ich habe den Masterjob schon mit --force laufen lassen, ohne Erfolg.

 

hier die Mail :

Betreff: Cron <root@(none)> /usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php

Inhalt:

 

*** Froxlor Master Cronjob ***

Below are possible parameters for this file

--[cronname]		includes the given cron-file
--force			forces re-generating of config-files (webserver, nameserver, etc.)
--debug			output debug information about what is going on to STDOUT.

 

Gruß, Uwe

 

 

 

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

Eh ja das hilft dir garnicht, denn der Cronjob macht ohne Parameter mal genau nix - einfach mal als root folgendes ausführen, dann repariert sich das von allein:

php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug

Link to comment
Share on other sites

  • 0

Hallo, erst mal danke für den Tip, erbrachte aber bei mir leider nicht den gewünschten Effekt.

Ich habe das Script mit --debug ausgeführt. Ausgabe : [notice] Checking system's last guid.  Bekomme besagte Mail aber trotzdem weiter alle 5 min. Aufgaben werden trotzdem ausgeführt falls welche anstehen.

Kann es sein, dass dies nicht auffällt da wohl die allermeisten mails an root nicht weiter leiten ?

Gruß, Uwe

 

 

Link to comment
Share on other sites

  • 0
On 8/9/2018 at 9:56 AM, funklaedle said:

Kann es sein, dass dies nicht auffällt da wohl die allermeisten mails an root nicht weiter leiten ?

*kopftisch* So sorglos sollte wohl niemand einen Server administrieren.

Für mich sieht es so aus dass etwas in der Datei /etc/cron.d/froxlor nicht stimmt und Parameter wie --tasks o.ä. falsch sind oder fehlen.

Link to comment
Share on other sites

  • 0

Bitteschön, hier besagte Datei :

# 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

Gruß, Uwe

Link to comment
Share on other sites

  • 0

Sorry für das Ausgraben, aber ich habe mit der aktuellen Froxlor (0.9.40.1) das gleiche Problem.

Die Konfiguration im Panel schläge folgenden Inhalt für die /etc/cron.d/froxlor vor (Debian 9->Sonstiges->Cronjob):

#
# Set PATH, otherwise restart-scripts won't find start-stop-daemon
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#
# Regular cron jobs for the froxlor package
#
# Please check that all following paths are correct
#
*/5 * * * *    root    /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php

 

Das genau führt aber zu dem oben beschriebenen Problem (der Masterjob macht nichts, sondern sagt nur, dass er ohne Parameter gestartet wurde)...

Ich habe jetzt den Inhalt von funklaedle übernommen, aber optimal ist das nicht

Link to comment
Share on other sites

  • 0

hm, jo möglich das wir es früher anders gemacht haben ja, machste uns auf github nen issue auf dazu? müsste halt nur --force dran (denn beim ersten mal erstellt er dann die entsprechend korrekten einträge aufgrund der einstellungen im panel)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...