Nyheter

Drupalinfo.:

 Her er muligheten til med å være med å markedsføre Drupal og deg selv! 

Cron

Noen som har god greie på å kjøre cron fra serveren, direkte via "cron.php" eller helst "supercron.php"?
PS: har prøvd guiden som finnes på drupal.org/cron, men får feilmeldinger og har opprettet supportsak. Men kan jo hende at noen har noen gode råd. Se nederst i innlegget--

Tips:
For å forandre på "Pormanscron" som nå har default "60 min", kan du hacke "poormanscron.module" som ligger i modulen.
Finn Linje 110, som du ser under avsnittet her, og fyll inn ønsket interval. Her har jeg fylt inn "60,300" (1 og 5 minutter)
Ved å gå til "http://domene.no/admin/settings/site-information" får du nå opp nye valg nederst på siden --> "Automatically run cron:" Velg og save.

 '#options' => array(0 => t('Never')) + drupal_map_assoc(array(60,300, 3600, 10800, 21600, 43200, 86400, 604800), 'format_interval'),

Feilmelding 1
Guide. http://www.proisp.no/opprettelse_cron_job_cpanel/

<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/home/xxxxxx/public_html/includes/bootstrap.inc</b> on line <b>1037</b><br />
<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/webnybzm/public_html/includes/bootstrap.inc:1037) in <b>/home/xxxxx/public_html/includes/bootstrap.inc</b> on line <b>1037</b><br />

Feilmelding 2
/hsphere/local/home/xxxxxx/drupal.no/bin/sh/supercron.php: line 1: ?php: No such file or directory
/hsphere/local/home/xxxxxx/drupal.no/bin/sh/supercron.php: line 2: //: is a directory
/hsphere/local/home/xxxxxx/drupal.no/bin/sh/supercron.php: line 4: /**: No such file or directory
/hsphere/local/home/xxxxxx/drupal.no/bin/sh/supercron.php: line 5: book.drupal.no: command not found
/hsphere/local/home/xxxxxx/drupal.no/bin/sh/supercron.php: line 6: syntax error near unexpected token `('
/hsphere/local/home/xxxxxx/drupal.no/bin/sh/supercron.php: line 6: ` * Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).'

 

 

Søk

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer