Hi,

I'm trying to configure Elysia Cron, and I not shure of what I'm doing... If you had a few minutes to look at my questions, it would be great!

I'm only looking to «shift» some heavy jobs like Aggregator (200 feeds) at night and to seperate them at different times (better performance on a share hosting? Lower load on the server?).

1. do I have to set the «core cron» to «never»?

2. at config>system>cron>settings:
- at the bottom of the page, there is a box named «Channels settings»: in the «Default schedule rule», do I have to set a time like «every minute»? Or 5 minutes? (depending on my most frequent job). Or do I leave it empty and use the «core cron» at say every 5 minutes?

- will triggering the cron every 5 minutes for «small jobs» like sending emails for notifications be an «overload» on a share hosting? Of course, I the server has to send a 1000 emails, there will be a performance issue... But it is not my case at the moment (does Elysia work hand in hand with modules like queue?).

3. aggregator_cron:
- I have set it to " 0 2 * * * " (once a day at 2 am). In the «Channel» box (right side), do I have to write «default»? (same for all other cron jobs?). Or do I write «1» for channel 1? Do I leave it empty?

- in configuring a feed, do I set the frequency at once a day? More? (config/services/aggregator/edit/feed/*)

4. what would be a "good" frequency for ctools_cron? Maybe it has something to do with the modules I have...

5. can cron jobs like dblog, field, l10n_update, node, statistics, system_cron and update be triggered once a day? (in the context of a shared hosting service). I have set them at 4 am ( 0 4 * * * ), after the cron for aggregator.

6. I guess that rules_cron should be triggered at the same frequency that the rules created for notifications or signup? So if I have a "flag notification", rules_cron could be triggered say every 5 (or 10) minutes?

Thanks for your time.

Comments

gotheric’s picture

Status: Active » Closed (won't fix)

1) Only if you intend to configure your server to call cron externally (for a better time handling). Look at INSTALL.txt "STEP B: CHANGE SYSTEM CRONTAB (OPTIONAL)"

2) I don't know what you mean with "core cron".
However usually there is no need to seet the default cron rule to "every minute" or similar. Usually the default cron is "every hour" or "every day".
Than if you need a specific job to be executed every minute, only that job will have that rule set.
However this is your choice, depending of what your server runs.

If a job "overloads" or not depends on the power of your server and the weight of the job...

Elysia cron supports drupal queue.

3) If you want to leave it in the default channel, leave it empty. Channels are only used to parallelize cron executions. Look at README.txt

4) Don't know, i usually leave that in the default rule (once an hour, but it's only my case)

5) Usually yes (if i remember correctly, they do only "purge" jobs and have no need to be executed often).
To be sure look at API documentation of their cron hook.
(Or just try and see if the server goes well ^_^)

6) I don't know very well the rules module, so i don't know. I think it depends on the rules you created and if they are triggered by cron.

gotheric’s picture

Issue summary: View changes

a few misspelling...