Jump to content

This cron file was invoked from a legacy filepath


mattkhosting

Recommended Posts

I just installed WHMCS and getting this error when the Cron jobs runs

 

 

This cron file was invoked from a legacy filepath.

WHMCS currently provides backwards compatibility for legacy paths so that your scheduled cron tasks will continue to invoke a valid WHMCS cron file

 

10 20 * * * php -q /home/mattkhosting/public_html/whmcs/support/cron.php <--- is what I have for the Cron job.

Link to comment
Share on other sites

  • 3 weeks later...

This just means it the cron job is running out of a publicly accessible directory, making it web accessible. This is / has been known to be a possible security risk. WHMCS now suggest placing your crons in a non-public directory above your web root to prevent web based access.

 

There are several other threads about this. You can always check out http://docs.whmcs.com/Custom_Crons_Directory

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