Jump to content
mash33

Validate maintenance is running correctly?

Recommended Posts

Hi,

I'd like to set up a cron to run the maintenance on my installation, but I'd like to know if the script is running correctly.

When I visit my maintenance file (http://..../maintenance/maintenance.php) in my browser, I get the following output:

#!/usr/bin/php -q

Is that the expected output? If not, any ideas on how I can get the script running correctly?

When I check in the administration panel when the last maintenance was run, it doesn't match up with the time I ran the script from my browser.

Just a note, I know how to actually get the cron set up and running, I'm just concerned regarding the output.

Thanks.

 

Share this post


Link to post
Share on other sites

That file is not designed to show any output other than what you saw.

You can see if it's running correctly when you log in as an administrator, go to the "Configuration" tab and the click "Maintenance" in the left hand menu.

If you have a cron job, and it works OK, it will say something like "Scheduled maintenance is running correctly."

The script is designed to run only once per hour. If you hit it multiple times per hour, it'll just ignore the rest.

Share this post


Link to post
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...