cron is the term used for a background server process for performing routine and other maintenance tasks.
0
votes
1answer
47 views
how to make cron run once at specific time per day?
I want the cron run only once at say 01:00 hours after midnight, just to save shared hosting resources as cron empties the caches. My new site is using too much of resources and I'm trying my best to ...
0
votes
1answer
14 views
Cron is 403: forbidden with cron_key and through 'run cron' link
I'm getting a 403: You don't have permission to access /cron.php on this server.
This is whether or not I am logged in. Stranger thing is that it is happening on our development server, but not the ...
0
votes
1answer
41 views
Drupal 7: “Maintenance mode” message when the site is NOT in maintenance (Yes, I´ve cleared cache, 4 times now)
I get the "Operating in maintenance mode. Go online." message and the D7 site is not in maintenance mode.
The message doesn´t appears all the time, and sometimes it goes away when I refresh the page.
...
0
votes
0answers
30 views
Elysia Cron for dummies [closed]
I just cannot see how to set Elysia Cron; I just don't understand the documentation. Help would be much appreciated.
In config/system/cron do I set cron to never, or once every hour?
In ...
0
votes
0answers
9 views
Define a list of rss feeds for access to by code that runs on cron
I have some code that runs on cron queue that builds a fieldable panels pane based on an rss feed. I want to allow the admin user to add new rss feeds so that in the cron code I can loop though the ...
0
votes
0answers
19 views
How does the deleted column get set for field_data_field_x tables?
I am having an issue where field data is being purged every time cron runs. This is normal behavior for data that has been marked for deletion (The deleted column in the field_data_field_x table set ...
-1
votes
0answers
18 views
Cache conflict with boost
I cached my website with the great Boost module and i need the cache expiration module too to manage my expiration logic .
I installed also the cron cache module to help me flushing all the database ...
0
votes
1answer
22 views
Create a rule at the event of “Cron maintenance tasks are performed”?
I created a rule to be fired when "Cron maintenance tasks are performed".
Now I need an action to check delete all nodes of the content type: "Question" that have the field "Delete" set to "yes"
...
1
vote
1answer
33 views
Cron job and Access Denied function
I have a custom module which implements hook_node_view() and checks certain conditions to decide whether a user can view the content or not. The code snippet is:
if( ! user_is_logged_in() && ...
1
vote
2answers
30 views
Cron set in Drupal UI or by server?
Under /admin/config/system/cron I can choose how often the cron runs. However do I still need to set up my server to ping the cron key (that I see in my reports page after I manually run the cron)?
...
1
vote
2answers
31 views
Is there anyway to get more control over when CRON runs? [duplicate]
I've just setup some rules using the Rules Scheduler module. Everything is working as expected, except that when a rule is scheduled for 10:30am, it might not run til 11:00am, because that is when ...
0
votes
1answer
31 views
how to found out if a custom hook_cron has been run?
what is the best way to find out if a custom hook_cron which runs automatically , has been run?
I did use drupal_set_message and watchdog but they weren't suitable for automatic crons.
1
vote
1answer
40 views
how to use hook_cron_queue_info in a custom module?
I am retrieving remote data by clicking an update button. I want to make it automatic. I read many articles about it but I didn't find a good example for using hook_cron_queue_info in my module. can ...
6
votes
2answers
139 views
How do I run multiple cron jobs?
I want to run 4 cron jobs inside Drupal, in four different times.
How can I achieve that? Is there any module for that?
1
vote
0answers
33 views
Cron not running - any symptoms to check?
I have cron set to run every 3 hours on /admin/config/system/cron (D7's poormanscron). I can run it manually just fine from that page, but over the course multiple days it simply won't run by itself. ...
0
votes
3answers
75 views
Is there a way to manually run cron with Drush?
I just want to be able to accomplish this:
http://mywebsite.com/admin/reports/status/run-cron
... but through the Drush interface.
0
votes
0answers
212 views
Attempting to re-run cron while it is already running
I have a major problem with my system's cron; it runs every 3 minustes causing a slow responding from the site. When I checked the logs, I found this error:
Attempting to re-run cron while it is ...
2
votes
1answer
40 views
field_deleted_date_N and field_deleted_revision_N not removed on cron run or field_purge_batch()
I am running a site on D7. I noticed a no. of field_deleted_date_N and field_deleted_revision_N tables in my database. Through a lot of googling I found people saying that these tables will eventually ...
0
votes
0answers
22 views
Cron Cache is not working with Cache Expire
I'm using the Cron Cache module to automoatically flush my database cache especially the Cache Form table that will become 1Go in few days if i did not .
And also i'm using the Boost module as a ...
0
votes
0answers
104 views
How to clear Drupal temporary folder?
I've done research and simply cannot find how to clear the images from the temporary folder on Drupal 7! I have a jQuery slider on my home page that pulls the five latest image files to display. I ...
-1
votes
1answer
31 views
Re-Indexing on Search setting, What for? [closed]
What the function of re-index on search setting drupal? And if not re-indexing, what happened? What different with run cron? Thanks
2
votes
2answers
173 views
make sure hook cron is only run once a day setting
I'm building a hook_cron in my module but I actually don't want it to run at a maximum of once a day.
Is there a Drupal setting for this or do I need to check when the last cron was run and see if ...
0
votes
0answers
91 views
Crontab to trigger scripts with drush commands
I've read this question and the answers links through to Jenkins. Looked into it but was way over my head to install and set up.
The other answer links to this page which talks about running cron ...
0
votes
0answers
17 views
automatically deleting non verified users after some time [duplicate]
By default Drupal requires an e-mail verification when a visitor creates an account. Is it possible to automatically delete all user accounts which are not verified after a month or so?
Would it be a ...
1
vote
1answer
40 views
What are the performance implications of running a frequent simplenews cron task to send emails?
In the Simplenews docs there is the following tip:
The Elysia Cron module (http://drupal.org/project/elysia_cron) can be
used to start the simplenews cron hook more often than others, so that
...
0
votes
3answers
58 views
Delete nodes if URL is called via Wget Command
How can I delete the nodes if i am calling my URL via wget command. Because the anonymous user haven't permission to edit/delete.
0
votes
0answers
31 views
setting elysia_cron
I am configuring elysia_cron on a Rackspace Managed Cloud Server. We have a loadbalancer in front of two webservers. Am I supposed to use all three (3) IP addresses (Load Balancer, Web01, Web02) in ...
1
vote
0answers
77 views
Running regular Migrate in Cron leads to duplicate nodes
Related: Schedule Migrate to import XML data regularly
I am getting duplicate nodes every time I try to do a rollback/update. Is it because they are triggered when users visit the page (instead of ...
0
votes
1answer
150 views
Set cron job to open URL
I want to automate one task in cron. I have one URL which I can open and it refreshes the web service data. I can do that in every 12 hours. Is it possible to automate that in cron? Please let me know ...
0
votes
0answers
16 views
Cron Cache is not working
When i used the Cache Expiration module i noticed that the Cron Cache module is no longer working and the cache tables in the database are no longer flushed so the database size is getting bigger day ...
0
votes
0answers
22 views
Cron sends a newsletter without using a template, and only when the administrator visits the site
I installed departure mailing cron with a limit of 20 mailings the template is used when I turn on the cron by hand.
In what could be the reason?
Thanks for any help
0
votes
0answers
86 views
Drupal 7 Multi-Site Cron not Running
I currently am running a Multisite instance for my uncle and cannot get the cron to run on only the primary site. The sites using the same code base do not seem to be affected by this.
Running cron ...
1
vote
2answers
72 views
How can I more efficiently save nodes programatically with my custom module without cron?
I have a scraper I created that aggregates data found on various sites, feeds, and databases. So that I don't hammer the servers to death that I am connecting to I have it set to sleep 5 seconds ...
0
votes
0answers
55 views
Create cron task for each feed importer not working as expected
I have 2 feed importers, one to create product entities and one to create product nodes which have product entities as a reference field.
I tried creating 2 different cron jobs for each of my ...
1
vote
2answers
178 views
Triggering the Feed Import module
I have a Drupal 7 website that is intend to be fed by a JSON file.
This file, is actually processed and updated by a ETL tool that runs periodically (each 3 hours by example).
Once my ETL tool has ...
1
vote
1answer
212 views
Poormanscron vs. external cron?
In Drupal 7 Poormanscron has been made part of core and is the default. I understand that for this to work at all, the site must get regular page requests in order to trigger Poormanscron - but that ...
0
votes
5answers
94 views
What is the best way to write a cron that deletes a very large number old nodes and comments?
I am writing a module the preferably implements a cron job, and possibly a queue, to run sql queries to delete old nodes and their comment. Approximately 20 Million nodes, and about 40 mil comments. I ...
2
votes
1answer
72 views
Using hook_form_alter() and hook_cron() together
I am interested in adding a function to the cron queue after I submit a form. I am confused how to call the cron after the form submits.
I am using hook_form_alter for catching the submit:
function ...
4
votes
3answers
332 views
Do I need a cron task for processing a queue?
I've got a task that takes about 45 minutes to complete and needs to happen every day (synching users to several external database, etc).
To handle the work, I've set up a cron queue with ...
0
votes
1answer
33 views
Cron Cache not working
I'm using the Cron Cache module to empty my cache tables especially the cache_form table who take 200Mo in 2 days ,but the probleme is that i notice that the module is not working anymore for few days ...
2
votes
2answers
76 views
Update Computed field with hook_cron
I have a field age in profile of my Drupal Instant which computes age from the D.O.B of the user. How do I make sure the age is updated along with cron job. Is there any way to trigger.
Right now I ...
2
votes
1answer
120 views
Prevent cron from flushing the cache indiscriminately?
I use Drupal 6 with the Cache Backport module, and all the available cache tables are configured to be stored in Redis (similar to Memcached in function for RAM caching). The caching works very well.
...
1
vote
3answers
101 views
Cron jobs stuck in drupal 6
I am maintaining a site on drupal 6. I have installed a birthday module which can send mails to users on their bday. But it doesnt do so. None of the other cron related tasks are done, though cron ...
2
votes
1answer
104 views
On what event does the cron begin its execution?
I have a site which requires periodic tasks to be done (sending content update notification / subscription, etc); which are configured on cron run. The cron run is setup to run after every "3 hours" ...
0
votes
3answers
146 views
Cron run exceeded the time limit and was aborted + How to change max_exec_time if not access on php.ini
I am running a script which Fetches the data from other site like Articles of a user and other things also. I run my script in hook_cron. Cron gives me this error after a while of script running.
...
0
votes
1answer
62 views
Why does the search module break cron
I was trying to work out why cron wouldn't run on my site and came across this post: http://codekarate.com/blog/drupal-6-fixing-stuck-cron-run which said that enabling and disabling search would fix ...
4
votes
1answer
146 views
Running a customized cron task very often
I have a custom cron task that needs to be run every ten minutes.
The task connects to remote servers to retrieve some data and update the drupal db.
In order to achieve that I have to execute drupal ...
4
votes
1answer
60 views
Images loading fine on day 1, broken on day 2
Strange problem.
Images on my production site are 100% working at one point (right after getting a refresh from staging), and within a day or two, some images on some pages become broken links.
...
1
vote
2answers
61 views
How can I know that node is created or updated?
I had configured Drupal 7. I'm going to run cron when a node is saved/updated/deleted. How I know that node is changed?
Thanks.
1
vote
1answer
46 views
Cron runs async?
Since the cron is ran during the users' pageload, does it run async, or does it block the request until it's finished?
In the latter case, what would the best practice be not to have the user wait ...



