cron is the term used for a background server process for performing routine and other maintenance tasks.

learn more… | top users | synonyms

0
votes
0answers
13 views

Drupal integration with external binary program to convert an image?

On a cloud based site, I have a method for converting images into svgs that takes, at times, a few hours of run time. The workflow should have the user submit the image and have the image stored to ...
0
votes
0answers
17 views

LDAP bind anonymous successful…Could not bind to AD

i'm install LDAP module, and work fine more then 1 month. But once, i open site, and see LDAP bind anonymous successful...Could not bind to AD. I'm try to run cron, but see the occured error. ...
3
votes
2answers
50 views

How to execute a function every 3 months?

What's the proper way to execute a function every 3 months? Watchdog variables don't seem to be available after a certain time. I could create another table to insert the execute function date to ...
1
vote
1answer
15 views

How to disabled Drupal builtin “poormanscron” cron when using Ultimate cron?

I want to disabled Drupal 7 builtin "poormanscron" to then put it into a crontab task as it should, but when using Ultimate cron module i do not see an option to disabled Drupal 7 builtin ...
0
votes
0answers
11 views

Problem with drupal $queue->DrupalQueue::get and $queue->createItem

I am updating approx 10000 nodes using hook_cron_queue_info and hook_cron(), it execute only for 25 nodes. Is there any problem? function my_module_cron_queue_info() { $queues['my_module_batch'] ...
1
vote
1answer
29 views

Does cron queue manage max_execution time?

I have implemented an approximately 1000 nodes update using hook_cron_queue_info() and hook_cron(). When I manually run cron job from the Drupal administration pages, I get a maximum time execution ...
0
votes
1answer
36 views

Timeout in Drupal 8 sites, perhaps related to cron

I have been struggling with a timeout error in a couple of Drupal 8 sites, which I have not been able to reproduce. When I deploy them into my colleague's production server (a Mac machine), all the ...
0
votes
0answers
13 views

Sendgrid not sending newsletter on cron

I am using sendgrid mail service for sending simplenews newsletter. Newsletters are sent to users on cron. I can send test newsletter. But on cron run subscribed users are not receiving the ...
0
votes
3answers
40 views

Solve “Cron run failed” without Watchdog

Some years ago i wanted to turn off watchdog because it's memory and db consumption, but today i need info about why my cron isn't running because need to use Search module from now? Trying to run ...
1
vote
3answers
36 views

elysia_cron setup for custom callback

I have created a custom callback to perform some batch operation. How can I set schedule for execution using elysia_cron?
0
votes
1answer
33 views

Revisions revert unexpectedly

I have a really horrible intermittent bug where a collection of nodes will reset to a previous revision. Here is an image of the revisions tab on the node: There are three unusual aspects: The ...
0
votes
0answers
26 views

User registration mail sent after 3 hours

In my Drupal 6 website, when a user registers, he gets the email of registration with an activation link after 3 hours. I checked there is no setting as to 3 hours for this email. Moreover, after ...
0
votes
1answer
37 views

Hosting advanced cron for Aegir 3

There was one very useful contributed module named Hosting Advanced Cron. It allowed me to set cron interval per site, instead of set just global for all (and you can even disable cron on specific ...
0
votes
0answers
17 views

Unsupported operand types in /includes/common.inc on line 3022. D6

PHP Fatal error: Unsupported operand types in /includes/common.inc on line 3028 I have this error while I attempt to run cron.php. So my sitemap doesn't generate. My cron.php is not working. I can't ...
0
votes
1answer
50 views

cron for rebuild xmlsitemap mannually without drush in cpanel

I'm using this: XMLsitemap module: https://www.drupal.org/project/xmlsitemap I have a cpanel shared hosting in hostgator and drupal 7. I can not install Drush, ssh access is not enabled. i go to ...
0
votes
0answers
14 views

How to limit email sending rule to only send the email once in a day?

I have a rule that sends an email out to subscribers on the 28th of each month. The rule is executed when cron is run, I have cron set to automatically run once a day. I also use linkchecker, which ...
1
vote
1answer
70 views

Long-running cron task never fully executed [duplicate]

I am developing a Drupal Cron that has a very long-running task. First I tried with a simple Cron, which, of course, did not work because of "Memory exhausted" PHP fatal error. Then, I developed a ...
0
votes
0answers
19 views

How do I load several feeds sequentially and in order?

I have a site which loads its content nodes using Feeds module. I load several nested taxonomies, and, as indicated in the docs, I use several different feeds. These are called sequentially by hand. ...
0
votes
1answer
24 views

How often i should re-build and re-submit xml sitemap for news website? [closed]

I have an website that get news from RSS Feeds. I build every day 2-3k articles and now i have almost 160k links. So, how often i should re-submit the xml sitemap; (currently i do this job every ...
0
votes
0answers
18 views

Cron stuck because update module

My cron is stuck because "Drupal core update status : No update data available", when disable update module, cron run good again. Just try manual update but it run more than 3 minutes then nothing ...
0
votes
1answer
50 views

create and save data to a file in the files folder from cron

I currently have some working example code where when a URL path i defined using hook_menu has been passed; My custom module will use file_get_path() to pull a txt file from another ftp server. It ...
0
votes
0answers
16 views

Periodically Create Child Nodes

I have a parent content type "A" which has a "duration" field. I have a child content type "B" which has a node-reference field referencing content type "A". Now, let's say I create a few "A" nodes ...
0
votes
2answers
40 views

After every cron job, the Media tags in WYSIWYG markup change to https upon a robot crawl

My site doesn't use https certificates. The Media WYSIWYG markup changes the images protocol and caches them as https and therefore they don't display as there is no certificate on the website!! ...
0
votes
1answer
34 views

Best settings for xml sitemap, cron time and submission time?

i have news site for about 7 months. The site get new feeds every hour but google take about 1 day to index them and only few of them. I see other sites that instantly index. "1 hours ago etc". Mine ...
0
votes
1answer
18 views

how to set cron correctly on a shared server

I set the following command for cron on a shared server. /usr/bin/php5.3 home/public_html/cron.php (All the Drupal files are under /public_html) This commend seems to be working but I get the ...
0
votes
1answer
31 views

Can the reaction of “Cron Maintenance” in the Rules modules pull data from nodes?

Overall Goal: Have an email sent whenever a node has not been commented on for a certain amount of time (ex: 1 hour). Previous Attempt: Have a node become stickied when a comment is posted. Then ...
1
vote
1answer
39 views

Custom VBO Action only works when enqueued (Adding User Role and Organic Group)

I wrote a custom module to add a VBO action that allows an Admin of a group to search the sites users, add them to their list (adds a role to the select users to get them on the list) and then allows ...
1
vote
2answers
103 views

How do I run cron as an authenticated user?

On my site, user profiles are not public; the anonymous user does not have permission to access them. However, I want to send a view containing a list of member profiles in an email with Rules ...
1
vote
1answer
30 views

Cron job stops when another one is running

I have two cron jobs in my site (I'm using Elysia Cron). They are set in my own module. One runs every minute and one every hour. Code below: function mymodule_cronapi($op, $job = NULL) { ...
0
votes
0answers
23 views

Scheduling tweets using Twitter Queue at a particular time

I'm trying to implement a feature wherein users can publish tweets and schedule them to be posted on their Twitter timeline at a particular time. This is what I have done so far: 1) Created a new ...
0
votes
2answers
72 views

Speed up cron job?

Can I improve my cron job speed? Ex: it takes me 30 seconds to complete a certain cron job. Can I make it do this faster? Does cron speed depend on the server machine?
2
votes
3answers
86 views

Why the cron is launched when I visit the website and why is it taking so much to complete?

I have a site in development. It has Feeds module installed, with mandatoty Job Scheduler also installed. When I come back to the office to keep working on the site, it takes almost a minute for the ...
0
votes
1answer
21 views

Cron runs in all server instances

We are facing really big issue with the cron. Our site is running on 2 ec2 instances under the load balancer. We have lot of cron tasks which are performed every day. But the problem comes when the ...
0
votes
1answer
57 views

Run Batch process every 1 hour

Currently, I have a batch process that is triggered on a form submit. With more detail, I have something like this: function mymodule_form_submit($form, &$form_state) { // call some functions ...
0
votes
2answers
38 views

Trying to update node using node_save() produces integrity constraint exception

This is the first time I've tried to do this so I may be missing something really obvious. I'm developing a module which uses hook_node_insert() to catch the creation of a node, and puts the node into ...
0
votes
0answers
99 views

How to run a cron queue programmatically?

I have created a cron queue like given below. function mymodule_cron_queue_info() { $queues['aggregator_feeds'] = array( 'worker callback' => 'aggregator_refresh', 'time' => 60, ); ...
0
votes
0answers
28 views

Importing large file images in Module Feeds

I need advice on importing large quantity of content with Feeds module. I am importing large images using the module Feeds. As there are many images (a few thousands) and many are a bit large (960 ...
1
vote
0answers
27 views

Cron job runs task during cron and redirects

When I run a cron job, it sometimes will redirect to the background task status page and then redirect to the messages page. However, cron does not get marked as run. If I do it again, right away, it ...
0
votes
1answer
38 views

Is it possible to run a View from code in a cron hook?

I'm writing a queued cron process, and need to retrieve some information while doing this. Rather than fiddling around with DB queries, it seemed to me much easier to create a View and then execute it ...
0
votes
2answers
22 views

Possible to change cron link?

I use D6. Cron run often by some bots visiting example.com/cron.php Is it possible to change it somehow? Or restrict? I would like to prevent anonymous users to hit the script.I want to be able to run ...
0
votes
1answer
53 views

How to resolve this fatal error '2006 MYSQL server has gone away'? [duplicate]

I'm trying to send 750 emails through cron job. After it sends nearly 40 emails, like after a few minutes it throws this error, Fatal error: Uncaught exception 'PDOException' with message ...
0
votes
2answers
42 views

How to make 2 different code run acording to different cron schedule?

I have 2 different code running under hook cron like below: function custom_module_cron(){ // First here code run for posting nodes to Facebook pages (this should run for cron tab Ist ) ...
0
votes
1answer
87 views

How can I fix the “Could not delete temporary file”?

I'm getting below error when run cron: The specified file could not be deleted, because it is not a valid URI. More information is available in the system log. Due to TMP files, my site will be ...
2
votes
2answers
131 views

How can a site programmatically detect if cron has not run in a long time?

I'm developing a module intended to proactively warn the admin if there are problems with the site. The idea is to periodically check the system status report and sends an email notice if certain ...
1
vote
1answer
24 views

How do I find the source of an error?

I'm seeing the following error when running cron (in terminal via drush and on screen via the status report page. Error: Call to a member function getScriptTag() on a non-object in ...
0
votes
1answer
71 views

Simplenews Scheduler Sending Newsletter Twice a Week

I'm having trouble configuring how to send a simplenews newsletter to subscribed users twice a week. I'm using Simplenews scheduler but just don't know how to configure it. I want to send a ...
0
votes
0answers
8 views

How do you find out what module generates some output when running cron.php?

So... I have one website which somehow now generates two empty lines (something like echo "\n\n";) when cron.php is run: wget http://www.example.com/cron.php Output is a cron.php file with "\n\n" ...
1
vote
1answer
35 views

Need of re-indexing on search on Drupal site?

My client site has a table whose data is coming from Indexed view, sometimes updates made to the data wont reflect in the view table. Elysia cron is installed and up running, which should update the ...
0
votes
1answer
63 views

Search api solr deleted terms showing up in facet

Why would taxonomy terms that I have previously deleted show up in my facet? I'm using search api solr. There is no term named "23"; it is a tid, but tid 23 is not in the database yet my facet shows ...
0
votes
0answers
20 views

Issues with cron offsite

I'm running cron offsite rather than have it update when users visit the site. So I have scheduled it to run using task scheduler. However its not running all the jobs it should be, like importing ...