Moodle cron no output

SYSTEM INFORMATION
OS type and version REQUIRED
Webmin version REQUIRED

why the cron job is not running?

The schedule command is
/bin/wget -q -O /dev/null https://mydomain.com/admin/cron.php

When I run the cron with password it runs from the internet(web browser). But when running the command from shceduled jobs, the output is none.
Best regards,

please? it helps those who may know to have a clue where to look.
Also as this is an external App to Virtualmin some idea of how it has been introduced. Does it depend on PHP? (so perhaps additional information on which PHP version is running and its configuration)

Oh, and as always logs? are there any? with perhaps clues?

Apologies!

Please find the info below.

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.2
Webmin version 2.021
Usermin version 1.861
Virtualmin version 7.7 Pro
Theme version 20.21
Package updates All installed packages are up to date

Output from command /bin/wget -q -O /dev/null https://mydomainx.com/admin/cron.php
NO OUTPUT GENERATED

Best,

I would have not run the cron job that way perhaps running, on the command line

php /home/user/public_html/admin/cron.php

As the user that is running that cron job and check for output this may show some output or errors which could be useful.
that said every cron script I have written in php I have never allowed the script to be run via wget, this maybe the case here without seeing the contents of cron.php it’s impossible to say

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.