Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In 7.x-2.1 I was able to hit the "run cron" button at /admin/config/system/cron to manually trigger a cron run.
Now when I click that button in 7.x-2.2 I get the error: "Cron run failed." and cron doesn't run.
Comments
Comment #2
Matroschker CreditAttribution: Matroschker commentedThe same behavior in my system (Drupal 7.50). I did the same update from 7.x-2.1 to 7.x-2.2.
Apache/2.4.20 (Win32) OpenSSL/1.0.2h PHP/5.6.17
Comment #3
kala4ekDo you run it as in superadmin (UID 1)?
If no, check please this permission
execute elysia_cron
Comment #4
fraserthompsonYep, that was it. Previously I was running it as a user with the admin role and in 2.2 the admin role doesn't have the execute permission by default. Granted execute elysia cron to the admin role and now it's working. Should have read the patch notes! Thanks!
Comment #5
fraserthompson