Quantcast
Channel: Active questions tagged cron - Drupal Answers
Viewing all articles
Browse latest Browse all 37

How to stop cron process without rebooting my server?

$
0
0

I have tried the following:

drush php-eval "\Drupal::lock()->release('cron');"

This had no effect. I'm still seeing "Attempting to re-run cron" errors pile up in the log.

I also tried the mysql query:

DELETE FROM semaphore WHERE name = 'cron';

The query ran fine, but had no effect. I'm still seeing "Attempting to re-run cron" errors pile up in the log.

I also checked the processes:

ps aux | grep cron

I saw a number of Drupal-related cron processes, and killed them all.

I then repeated...

drush php-eval "\Drupal::lock()->release('cron');"

None of this has had any effect. I clear the log, and then new "Attempting to re-run cron" errors appear.


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>