Jump to content
Dkuzik

daily cron job on demand

Recommended Posts

Hiya Dkuzik,

Have you changed the directory of your crons folder? (e.g. outside of your public document root)

Share this post


Link to post
Share on other sites

No its in default folder.  All my other hooks work.  Hooks debug doesn't show anything wrong.  Using Blend admin theme.  See image nothing showing

image.thumb.png.850f086c82b8c55d28a7abc9e18050d5.png

Share this post


Link to post
Share on other sites
7 hours ago, Dkuzik said:

No its in default folder.  All my other hooks work.  Hooks debug doesn't show anything wrong.  Using Blend admin theme.  See image nothing showing

image.thumb.png.850f086c82b8c55d28a7abc9e18050d5.png

It's possible WHMCS has changed how the crons are run, I'll have a look later.

If you run the cron file manually (e.g. https://yourdomain.com/crons/cron.php), can you confirm it works?

Check Last Cron Invocation under Automation Status.

Edited by leemahoney3

Share this post


Link to post
Share on other sites

There are no hook errors

hooks in default directory

 

Hooks Debug: Hook File Loaded: /www/wwwroot/mydomain.com/billing/includes/hooks/DailyCronJobOnDemand.php
None Admin ID 1
 
 
09/20/2022 18:22
Hooks Debug: Hook Defined for Point: AdminAreaHeaderOutput - Priority: 1 - Function Name: (anonymous function)
None Admin ID 1
 
 
09/20/2022 18:22
Hooks Debug: Attempting to load hook file: /www/wwwroot/mydomain.com/billing/includes/hooks/DailyCronJobOnDemand.php

image.thumb.png.397d65b7ca149b8f95f2e88bfa5ec755.png

image.png.2d8e7eea90b20809d2975f3d06609f59.png

Share this post


Link to post
Share on other sites

  • 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