Jump to content

Question About Differences In Auto-Maintenance And Scheduled Maintenance


Recommended Posts

Hello, 

 

first off, thank you for your efforts in this open-source ad solution. I have been searching for something like this for quite some time, I needed a solution that kept better statistics. I am I joomla user and the joomla banner system (and all the joomla banner extensions) are less than perfect in collecting (accurate) statistics, especially in regards to impressions. 

 

I was able to install and implement the banner system without issue. I have a test banner running on my busiest site, stationary on the homepage (so I can compare page hits to banner impressions) 

 

My question is regarding the preferred use of auto vs scheduled maintenance. 

 

When I have auto-maintenance running, it seems to function properly, it collects stats and I can check the database table and see impressions and clicks registering. However, in all your documentation, you recommend using scheduled maintenance.

 

Since statistics is the most important element for me and why Im using Revive, I would like to implement the most reliable solution. So I tried several different ways to implement the scheduled maint. via the cron. I disable auto-maint and add the cron. 

 

I have tried to add the cron 3 different ways. (I am on a dedicated server running ubuntu/webmin/ispconfig) I added it by opening the crontab and adding it manually, added it in ISPconfig, and tried in Webmin. all 3 failed. Webmin will actually generate the output so I can see the error. I get several different ones depending on how I write the cron. 

 

here is the cron line from webmin (in the actual crontab the hours/minutes variables are there) 

 

php5-cgi /var/www/clients/client1/web1/web/adserver/scripts/maintenance/maintenance.php old.nabco-inc.com

 

here is the error I get in return: 

 

PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cgi/conf.d/ming.ini on line 1 in Unknown on line 0
PHP Notice: Undefined index: SCRIPT_NAME in /var/www/clients/client1/web1/web/adserver/variables.php on line 81
X-Powered-By: PHP/5.3.10-1ubuntu3.11
Content-type: text/html

Revive Adserver was called via the command line, but had no host as a parameter.

 

So after trying this seventeen different ways to sunday, I have disabled the scheduled maint and reactivated the auto maint. 

 

My question is if the auto-maint is working, can I rely on that for my statistics? Or do I need to get the scheduled maint running? 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

If you serve a large quantity of impressions, I would highly recommend setting up the maintenance through a cron job. Running the maintenance through the automated system from Revive Adserver control panel may sometimes fail if you have low PHP configuration values set such as PHP memory, times, execution times, etc...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...