cron

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
marcetm's picture

Se ha intentado ejecutar cron cuando ya se está ejecutando.

Hola

Estoy teniendo problemas con cron y es que no termina su ejecución. Mirando en los mensajes de Drupal me encuentro con el mensaje que indico en el título "Se ha intentado ejecutar cron cuando ya se está ejecutando." . El sitio web se ha vuelto lento me imagino que es porque cron está consumiendo recursos del servidor. He mirado en el archivo syslog de mi servidor Debian 7, pero ahí no encuentro nada que tenga relación con el problema que estoy teniendo. Si alguien pudiera orientarme dónde puedo mirar para saber cómo resolver este problema le estaría agradecido.

Read more
kanzer's picture

Drupal 7 station after the cron warnings

hello I have days trying to take walk the radio module, not sure if this topic goes here, but hopefully someone else will have happened in this way and I can give a direction to run cron on my Drupal installation I appear the following warnings:

Notice: Trying to get property of non-object in station_schedule_program_get_at() (line 936 of /htdocs/sites/all/modules/station/schedule/station_schedule.module).
The specified file sites/all/modules/station/archive/import/1365465600.mp3 could not be deleted, because it is not a valid URI. More information is available in the system log.

Read more
cryder11's picture

pdf files disappear hours after working fine?

A few times this has happened now an I am not sure where to turn. Our hosting company is not sure what the problem is either. We are on drupal 6.26,. the other day, I attached 2 pdfs and the links to them worked perfectly fine. However the next day the files have disappeared and the links broken,making for some high level anxiety. Our hoster thinks many be something to with a cron job than ran just before the first time the files were missing, but I know nothing about cron jobs. What is the best way to figure out how to fix this problem? Thank you

Read more
jebbushell's picture

Does Anyone Have A Cron Recipe They Might Share?

I am totally bewildered by cron and all the well-intentioned help that is available on the first two pages of Google.

[Edit: Not so much, in the end. See below]

I've tried "Scheduled Tasks" and/or edited my crontab directly, changed the permissions on the test.sh scipt file so that anyone on the planet can have their way with it, all to no avail. All I ever get is "Permission Denied". The contained command is echo "hello world!" which I assume is not the source of the permission error.

The cron implementation appears to be Ubuntu default: no allow or deny files where I looked.

Read more
patrickd's picture

Croninfinite | croning cron without cron

Croninfinite allows you to run cron just like a cron job - but completely without a cron job, a site visitor or a manual cron run. It's really a kind of PHP implementation of the unix cron utility what is recommended for most sites.

The module already has a sandbox page where you can get more information:
Sandbox: http://drupal.org/sandbox/patrickd/1182956

// It's finished and waiting for reviews in the project application queue: (http://drupal.org/node/1200432)

Read more
sgarber's picture

Newbie question

I ran the Cron and it gave me this:

•   warning: Invalid argument supplied for foreach() in C:\wamp\www\hosted\seattlecommunitymedia\modules\merci\merci.module on line 1063.
•   warning: Invalid argument supplied for foreach() in C:\wamp\www\hosted\seattlecommunitymedia\modules\filefield_paths\filefield_paths.module on line 389.
•   warning: Invalid argument supplied for foreach() in C:\wamp\www\hosted\seattlecommunitymedia\modules\filefield_paths\modules\filefield.inc on line 50.
•   

Any ideas why?
Thank you in advance for your help.

Sven

Read more
Orkut Murat Yılmaz's picture

Belli yayın süresi olan içerikler

Selamlar arkadaşlar,

Bir ilan sitesini drupal'a çevirmekle meşgulüm. İlan girişinde ekteki ekran görüntüsündeki gibi bir senaryo var.

  • İlanı kullanıcı girerken 15/30/45/60 gün seçeneklerinden birisini seçiyor.
  • İlanı onaylayan yönetici bu seçeneği dilerse değiştirebiliyor.
  • İlan bu seçilmiş sürelerden birisi kadar gün yayında kaldıktan sonra yayından otomatik olarak kalkıyor.
Read more
SocialNicheGuru's picture

Aegir cron queue not running. How to fix?

Hi,

Aegir task cron runs as expected.

But individual site crons are not running.

I looked at my setup under hosting >queues

while my takss queue runs as expected my cron queue has not run for several weeks.
How can I force this to happen?

su - aegir
crontab -e

SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
*/1 * * * * /usr/bin/php /var/aegir/drush/drush.php --php=/usr/bin/php '@hostmaster' hosting-dispatch

I tried per troubleshooting instructions to reset cron:

Read more
Melissamcewen's picture

Backend Basics: Setting up Drupal on your server, backing up, and managing files

So you've played around with some Drupal and are ready to put a site online. How should you host it? What do you need to know to get it set up? How will you keep it up to date and safely backed up?

This session will cover the basics of local development environments, domain names, hosting, the command line, MYSQL dumps and uploads, cron, Drush, backing up, and revision control. After this session you should have an idea of what it takes to get your site live...and keep it from being dead!

Read more
joetsuihk's picture

Should cron be run on all 3 web tiers?

I have 3 web servers connected to 1 DB server, should i run cron on all 3 web server? or run in one of them, and rsync?

I think there is a possible error running cron on 3 web as cron will try to trash and create cache in the same DB at th same time. (please correct me if it is not the case.)

Also, should the cache folder created by boost module use rysnc or NFS or let them create cache themselves?

Read more
Subscribe with RSS Syndicate content