Cron jobs are executed at a specified date and time, which is scheduled by the system administrator. So, cron jobs logs or history are maintained in a log file that helps the system administrator to verify that either the cron jobs are executed at a specified time or not. Now, using the following two different methods can easily access the cron log events: Method 1: Check cron logs events through syslog It is a very simple and easy way to check that cron log events are running on your system.
Karim Buzdar Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. View all posts. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.
Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 1. Hot Network Questions. Question feed. I'm assuming this isn't supposed to happen, but I have been afraid of running cron again. Now, Where do I see the cron jobs? Please help me find any existing cron jobs, logs, what the cron user for moodle 2. Normally cron jobs are run using the same user of the web server to find out: Get apache linux user from php. On debian-like distribution is www-data , on OpenSuse I think it's wwwrun.
After that, you can check the cron jobs like you already said anyway, Moodle doesn't define cron jobs at installation, it's possible that they were not defined beforehand, or something or someone removed the jobs? But it could also be listed in a file read carefully Cron on Moodle Wiki. For checking if cron is working look at this: Reasons why crontab does not work. I would be careful before setting the cronjob, if it could kill your server..
Something like this:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Moodle 2. Ask Question. Asked 8 years, 2 months ago.
0コメント