Guessing what 'cron jobs' is...

Author Message

Marat M.

Monday 09 May 2005 6:43:00 am

I'm not an advanced PHP developer, however familiar with some of the principles and even wrote some PHP code earlier. What I try to do is simply going "to imitate" the learned tutorials in my own site in the future, altering html and css code where it is necessary. I understand the inner structure and principles of eZPublish now quite well. Nevertheless, I experience difficulties with making the guestbook messsages (on tscm site) appear after I added a new message AND approved it in admin.

1. I don't know, what is "cron job" and really have no idea of what it can be :)

2. I don't know how to run a runcronjobs.php file manually except through the browser's address bar. But when I do the latter there is a string

#!/usr/bin/env php PHP is currently using the 'apache' interface. Make sure it is using the 'cli' interface.

I've run a search for this topics in forum but it seems that all guys already know the core (except me :) ) about "cron jobs" and other stuff so I can't fully understand how they resolve their problems with running the runcronjobs.php properly.

Some additional information:

I'm not working on a local machine but use a hosting provider. The configuration is as follows:

Web server: Apache 1.3.*
PHPversion: PHP4
MySQL: mySQL 4.1.7-max / S6  

Please, help me understand how eZPublish processes workflows and how the server should be tuned. So that in the future I could at least localize the problem myself.

Thanks,
Marat

kracker (the)

Monday 09 May 2005 7:07:13 am

Maret,

Thank you for your help this evening within regard to my previous request. You will find my reply in the following thread.

http://www.ez.no/community/forum/general/running_ez_publish_scripts_via_the_command_line

//kracker

<i>Sage Francis : I'm Not A Hater</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:18:25
Script start
Timing: Jan 31 2025 06:18:25
Module start 'layout'
Timing: Jan 31 2025 06:18:25
Module start 'content'
Timing: Jan 31 2025 06:18:25
Module end 'content'
Timing: Jan 31 2025 06:18:25
Script end

Main resources:

Total runtime0.0132 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1328151.2109
Module start 'layout' 0.00570.0020 739.343836.6484
Module start 'content' 0.00770.0044 775.992290.2656
Module end 'content' 0.01200.0011 866.257833.9922
Script end 0.0132  900.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.2339140.0002
Check MTime0.00107.9047140.0001
Mysql Total
Database connection0.00107.391910.0010
Mysqli_queries0.002115.749830.0007
Looping result0.00000.061410.0000
Template Total0.00096.510.0009
Template load0.00075.216210.0007
Template processing0.00021.263910.0002
Override
Cache load0.00053.710410.0005
General
dbfile0.00096.490980.0001
String conversion0.00000.066840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs