Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use it for questions about performing routine and other maintenance tasks in Drupal.
12
votes
Accepted
Cron stopped running; logs say: "Attempting to re-run cron while it is already running."
The cron semaphore is probably locked. … You could try calling drupal_cron_cleanup() from anywhere in your code (that doesn't happen to be invoked by cron) and that should unlock your cron semaphore variable. …
3
votes
How to abort a cron run?
watchdog the message "Cron run completed". … Aborting your cron cycle mid-execution leaves you with no traces of how or when your cron finished. …
2
votes
Accepted
How to edit every node of a content type on cron run?
hook_cron: It will get called on every cron run. … However, note that both loading and saving a node is an expensive process, and if you have a site with many nodes, your site would become very slow, unstable, or even unusable on every cron run (which …
0
votes
How to clear unused files from the database and the filesystem?
I don't think this is a very good idea. What guarantees you that because the file is currently not being used it will not be used in the future? Also, there are many reasonably priced hosts that offer …