Problems with Chronjob


I have created a chronjob that runs a snippet (for sending notification emails).

If i press button Run Chronjobs in ChronManager, snippet works just fine.
Problem is, that the snippet was supposed to run the chronjob every 120 minutes and check if the parameters for sending the email notification are met, but it doesn’t.

I have several chronjobs created, but autostart is not working on any of them.

Thank you for your help.

Did you also create a cronjob on the server (NOT in MODX) that calls the PHP page .../assets/components/cronmanager/cron.php periodically?

No i didn’t create it.
Now I edited cronjob file on server (crontab -e) and entered text:
0 * * * * /usr/bin/php /var/www/html/intranet/assets/components/cronmanager/cron.php

did i do it right?

0 * * * * runs the cronjob every hour. So you have to wait a while to find out if it works.

Maybe increase the frequency (* * * * *) until you’re sure it works correctly.