Jump to content

which files to use to update whmcsdata/cron/cron.php


Go to solution Solved by RadWebHosting,

Recommended Posts

My WHMCS installation was done by tech support, so I'm only catching up on details now.

Its cron folder is found outside of public_html in the root directory of my shared hosting server, in this directory: whmcsdata/cron/cron.php

When WHMCS gets auto updated. These files don't get updated (a fact I only discovered recently). Only the files within public_html get updated.

Do I need to copy the contents of the updated /cron directory (found in public_html/whmcs/), and paste them over the outdated files in whmcsdata/cron/cron.php?

I am assuming the answer is yes, but I wanted to double check before doing anything stupid.

As an additional Q, are there any other files which need to be manually updated like this?

Thanks!

Link to comment
Share on other sites

Hi @Damo

My configuration was done by support staff, who placed the crons folder in the root directory (outside of public_html). This is the recommended practice ( https://docs.whmcs.com/8-13/getting-started/configuring-whmcs/move-the-cron-directory/ ). But yes, when done, the auto updates don't touch those files in the root directory.

But yes, copying/overwriting the crons with the new copies in my whmcs application folder /cron did the trick & everything is functioning as it should be...

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated