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

learn more… | top users | synonyms

1
vote
0answers
13 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
22 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
2answers
57 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
10 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
46 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 ...
1
vote
1answer
26 views

Using Cron and CURL in a custom module

I am using a hook_cron (mymodule_cron) in my custom module, but would like to know whether the cron run is successful or not and has sent the data using CURL, and from there, update a specific column ...
0
votes
1answer
12 views

How to make summary of body searchable?

I've already looked at this answer and tried to change the search index view so that when I ran a search, I could type in a word appearing in a summary it would appear in my search results. I also ran ...
0
votes
1answer
12 views

_cron_queue_info [closed]

worker callback dosen't run in _cron_queue_info function samadiet_cron_queue_info() { drupal_set_message("pre run ittttt".date_iso8601(variable_get('samadiet_readsite_queue', time()))); ...
0
votes
1answer
36 views

Undefined index errors when running cron.php

I am getting a slew of errors when I attempt to run a cron job following my hosting company's instructions. From researching the errors, I suspect the instructions are wrong. But their support is ...
0
votes
1answer
35 views

How to set Cron Job in custom module for specific time in Drupal 7

I am building Drupal 7 Custom Module, my module needs to have cron job running on specific time, instead of the default cron time. How do I implement this? This is my code for cron : function ...
0
votes
1answer
10 views

Insert task to Queue only if unique

I wanted a way to only insert items into the Queue when it was not already added. I want to have a large queue and work my way through it, simply adding as required. Previously I was deleting the ...
1
vote
1answer
26 views

Re-import nodes daily using feeds and hook_cron

My requirement is to import nodes daily night after deleting all the contents in that node type. I enabled the cron settings in feeds module as 1 day and tried to write hook_cron() to delete all ...
0
votes
1answer
50 views

Trouble getting Elysia Cron to run every 15 minutes

I'm running drupal 7 on a shared host with cpanel and apache. I don't want to use regular cron because i want to run some tasks more regularly than others such as the search index. So i added Elysia ...
0
votes
1answer
37 views

How do I process a huge list of files?

I have a huge list (> 100 000) of files that need to be processed. I want processing to run in the background and continuously (when it has processed the last, it just restarts on the first). I've ...
0
votes
2answers
37 views

Redirect after login for specific role on specific day using Rule

I want to create a rule for specific user to redirect to his profile page on specific day like Monday and Thursday. For this, I used the Rules module, together with the Rules Once per Day module. If ...
0
votes
0answers
13 views

Salesforce module tries to create dummy users, but required fields missing

We have recently enabled Salesforce integration between Users and Salesforce Contacts on our (Drupal 6) site. When cron runs, it seems to fail every time. I'm not sure if this is because of a Drupal ...
0
votes
0answers
15 views

Getting memory error (APC?) when trying to run a cron queue

I am trying to run a cron queue with a large amount of items. I am getting this error repeated dozens of times in watchdog: Warning: require_once(): Unable to allocate memory for pool. in ...
1
vote
1answer
24 views

Drush cron - how to provide the actual task

Based on this documentation the drush cron can be set up as 10 * * * * /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/drush/drush ...
1
vote
1answer
23 views

Does the cron using Drush must be setup locally or on the server for the production website

I have been reading about the Drush cron and explanation that mentions in this documentation. Wondering do we add that crontab entry for drush locally or on the server where the website is for the ...
0
votes
1answer
28 views

Ultimate Cron Background Process Taking a Long Time

I'm having background process on Ultimate Cron process various queue items, but the fastest it usually processes them is at least one minute, and sometimes 3 minutes per item. This seems incredibly ...
1
vote
1answer
61 views

Cron running by itself?

My Drupal 7 instance was getting slow. I realised that the problem was a cron job running. However, why is cron running when I'm browing the site? It shouldn't be, surely? It should only run when I ...
0
votes
0answers
30 views

Emails repeatedly sent at each Cron run

In my project i am using the Rules module to schedule the sending of emails to some users on my site. At cron run, the scheduled emails are sent as expected. However I found out that at each ...
0
votes
2answers
47 views

How to debug cron? [duplicate]

I want to debug cron. Cron run twice at a time, in watchdog message is show "Attempting to re-run cron while it is already running". This message was show multiple times. Anyone have any idea how to ...
0
votes
0answers
16 views

Delaying notifications

D7: Issue: I use Organic Group (ver. 1.x) and it has come to my attention that as groups grow with more and more members there is also a growing problem generated by invalid emails. Some users ...
1
vote
0answers
57 views

Scheduled publishing timings, cron, cache clear

We have a site where users make extensive use of scheduler to schedule publishing of articles etc. Site crons are run externally through drush and elysia_cron is installed to give fine-grained ...
0
votes
1answer
39 views

Hook_cron in drupal

In my custom form module submit handler, I have written the following code: function mymodule_form_submit($form, $form_state) { db_insert('bds_user_expiry')->fields(array( 'uid' =>$user_id, ...
0
votes
0answers
52 views

Disable Elysia Cron task programmatically

I have a custom module where I create several cron tasks using HOOK_cronapi. This is done when the user visits a page and has a form to create those tasks. I also need that the user can disable those ...
-1
votes
1answer
25 views

I install ultmate cron and i saw that errors

I have all this error but when i am running cron without cron ultimate all run perfect but with cron ultimate i got that errors... Could anyone help i really need help here: exception ...
6
votes
3answers
154 views

How to change my homepage based on the time of day?

I have searched high and low for this. How do I change my homepage based on the time of day, to be absolutely explicit, I want: Between 8am and 7pm - Homepage 1 (node/4) Between 7pm and 8am - ...
1
vote
1answer
35 views

Sticky at top of lists node at certain time

I would like to sticky node at certain time and update time of publishing. I tried with module scheduler but it unpublish content I need published content it is more like republishing and put that ...
-2
votes
1answer
73 views

Process long query and output data to file

I have several nodes in my site (7822 at the moment) and I need to generate new data from those node values. I have a custom module with all the functions and calculations. The problem is that, ...
3
votes
1answer
61 views

Request a page - as admin - via command line to build up cache

Folks: I have a pretty hefty view page which has been overridden with template files to produce a custom gantt chart for a long list of users. For each row of gantt data - the outputted html is ...
1
vote
1answer
49 views

Creating custom cron jobs in the same module

I have Drupal 7 installation with Feed Import module enabled (not the same as Feeds module!). From this module I need to import data from several xml feeds with a different schedule. For example feed ...
1
vote
1answer
29 views

Can I set a cron for deleting and re-indexing Search API daily?

Using Commerce Kickstart 2. When we add new products, the facet search index does not re-index automatically as it says it does (Maybe because we are using some Aggregated Fields?) -Whatever-, we ...
1
vote
0answers
23 views

cron import more than 2 files with feeds

I'm on Drupal 7 using services and feeds. We have 10 XML files we're trying to upload during cron that doesn't work. If I do it manually by using wget/cURL via SSH only 2 files are uploaded. If I run ...
0
votes
1answer
32 views

Cron function set to run once per month not completing

I have a cron function that is being triggered but not completing. The function is supposed to run only once on the first of every month. The function runs but, I think, gets as far as comparing the ...
1
vote
0answers
17 views

Drupal 7: Delay in Sending New Content Email Notification

I've set up a workflow rule to send an email to all users of a role when new content is saved. I've tested it with three test users and have noticed that the email takes quite a while to actually be ...
0
votes
1answer
22 views

Is it dangerous to call a function that deletes nodes based on criteria while a cron job is running that imports them

I have custom module that performs a dbquery on a button click that deletes nodes that fit a certain criteria. Is it dangerous that I also occasionally run a cron job that imports nodes that fit this ...
0
votes
1answer
15 views

Website encountered unexpected error - how to avoid?

I'm having that typical problem of Website encountered unexpected error popping up sometimes and then after repairing watchdog MySQL table it all works find again. My question is if there is a module ...
1
vote
1answer
61 views

Enabling Views module causing cron to fail

Quite simply, I enable the super common "Views" module, and on Save nothing but a white page happens. On a refresh (Where I agree to the form resubmission) the modules page comes back just fine. ...
0
votes
1answer
156 views

Drupal site is compromised by backdoor [duplicate]

My Drupal site has been compromised. Although I applied all modules updates and update my Drupal core to 7.35, it is still compromised. What would the next logical step to take be?
0
votes
0answers
24 views

Form action=“/cron.php”

I got a custom form in a block, wich is available on my homepage. After e while the form action changes to action="/cron.php" instead of action="/nl". I can't figure out where this fault is comming ...
1
vote
0answers
21 views

Userpoints deducting for nodes which are marked with flag

I have a node which is published. I have a global flag, which user suppose to mark to make his nodes visible in Views. This is easy to do. But then I need to charge 40 points every day since node is ...
0
votes
1answer
62 views

Cron Run error for drush update script

I have created a script drup.sh to update the site with security issues and placed it in the sites/default dir. !/bin/bash drush up drupal --security-only -y And on testing it by running bash ...
0
votes
0answers
18 views

hook_cron_queue_info stopped

I'm trying to use Drupal Queue and Cron to execute a task. In the following example I: select all the users create an item in the queue for each of them define the function that has to be run for ...
0
votes
1answer
150 views

Drupal 7 not able to run cron after views/panels update

After an update of several modules to their latest versions (views, panels, ctools) it seems Drupal can no longer run cron, whether automatically or manual. It gives the error: "Cron run failed." I ...
1
vote
0answers
76 views

Drupal 8 cron not running from external source (as anonymous)

Running cron with crontab is not working on our Drupal 8 website if the user is anonymous. If I'm logged in as admin, I can run cron with the button or the url with key. If I'm not logged in, cron ...
0
votes
2answers
47 views

Node access, Cron, and DANGEROUS_ACCESS_CHECK_OPT_OUT'

Observations: Anonymous users can view nodes of a certain type Cron runs as an anonymous user Cron cannot access nodes of this type when using EntityFieldQuery Cron can access nodes of this type ...
0
votes
1answer
85 views

Is there a way to run a shell script on a custom cron?

I'm new to all this so maybe this isn't the best solution, but I've created a shell script cache warmer. wget --quiet http://www.example.com/custom-sitemap.xml --output-document - | egrep -o ...
4
votes
2answers
234 views

How does Drupal Cron effect Page Cache?

I'm trying to figure out how Drupal's cron effects the page cache of my site. It would be nice to store as many pages in the cache table as possible so that when requests are made they are being ...