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

learn more… | top users | synonyms

1
vote
1answer
25 views

Long-running cron task never fully executed

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
13 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
21 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
16 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
24 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
14 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
38 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
30 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
14 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
29 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 ...
0
votes
1answer
25 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
45 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
27 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
17 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
51 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
85 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
17 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
55 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
24 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
37 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
13 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 ...
0
votes
0answers
13 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
34 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
21 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
37 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
44 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
89 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
19 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
37 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
32 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
42 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
19 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 ...
0
votes
1answer
39 views

Running cron without setting a cron job on web server

I know that in Drupal 7 Poormanscron is part of the core, but to have cron running I need the site must be visited regurarly and it's not my case. I can't set up a cron job on web server to ...
2
votes
1answer
42 views

Cron is not working - leading to user/0/edit instead

When I was trying to migrate my site and export the database I realised that the cache_form field is enormous. According to suggestions I have found online the proper way to solve this is to run cron. ...
0
votes
0answers
21 views

Manually run SystemQueue job

I am using the Queueing system in drupal in the following way: function my_module_cron_queue_info() { $queues['my_module_cleanup'] = array( 'worker callback' => ...
0
votes
3answers
58 views

sending mail without running cron

I have created a rule to trigger an email in user profile. But I could see the email after running cron only or else I could not see email in my inbox. Why is this? Can any one help in this please? I ...
0
votes
2answers
53 views

Mail is sending after running the cron

I have created a rule to trigger an email in user profile. But I could see the email after running cron only or else I could not see email in my inbox. Why is this? Can any one help in this please? I ...
0
votes
0answers
17 views

Susy and drupal cron

Since i develop drupal 6 theme with susy 2 i note the lamp local server and hosting one send me mails about cron issue instead of cron work .. I know it's about stdout or stderr that send automatic ...
0
votes
2answers
37 views

XML sitemap rebuild links on cron run

I've installed XML Sitemap. I can manually rebuild the link in /admin/config/search/xmlsitemap/rebuild. Is there any way to automatically rebuild the links (e.g. when cron runs XML sitemap would ...
1
vote
1answer
45 views

How to implement a trial membership using Organic groups?

I work on a Drupal site with the Organic groups module, where users can create account. When the process for creating an account is finished, users have access to a specific group and should have og ...
0
votes
2answers
50 views

Log into Drupal using drush uli via CURL on the command line

I'm trying to execute a CURL request via command line which uses drush uli to log into my site as an administrative user. Then it's redirected to another destination url. It works if the redirected ...
1
vote
1answer
107 views

Can't track why Boost-Crawler doesn't work

I use Drupal 7.38 and Boost x - 1.0.7, and I Can't get the Boost Crawler to work... Boost itself is working fine (verified formation of cached webpage files at root/cache/...). Seemingly, I did all I ...
1
vote
0answers
25 views

Manage multiple feeds import using cli

How can I optimize multiple feed importer from cli? Is there any way to optimize multisites using multicron for each site in drupal 7.? I want to implement like this ...
1
vote
0answers
17 views

three servers serving same content, one Drupal database: implications for cron, etc

We have an intranet with one primary, master server (let's call it #1) and two backups (#2 and #3), and I want users to be able to use any of them interchangeably. For our other applications, #1 is a ...
0
votes
1answer
27 views

Abandoned webform log

I'm building a huge form with Webform module and need advice for a way to save not fully submitted forms even without Showing "Save draft" button options is enabled and button is visible (which is ...
1
vote
0answers
181 views

Jobs behind schedule in Ultimate Cron

I almost always have over 30 jobs behind schedule in Ultimate Cron, and I'm trying to understand why that is, and how I can fix that. I am using Ultimate Cron 2.x, with Background Process. A good ...
0
votes
1answer
13 views

Cronmonitor with import-html

So I'm trying to get the import-html module to import files every time there is a cron run. However, I was hoping someone could help me understand what the format of file_list, profile_id, and ...
0
votes
4answers
270 views

How can I run cron.php via crontab?

I'm trying to run cron.php via a cron job set up in crontab on my server via the following command (running every 2 minutes purely for testing while I try and get it working - it will be every 6 hours ...