Need help with CRON


  • Default avatar
    opt2bout    
     6 years ago
    0

    I disabled the Awocoupon's configuration "Poor man's cron" and have instead created a crontab of the system to run the link with the key.

    Will the status display correctly when I do it this way?  The Last Run information is now blank and the temporary file/timestamps created in the /tmp folder don't exist for awocoupon_cron.1499999 any longer.

    I just wanted to make sure that running cron from the "back end" was working.

    Thanks!
  • Your avatar
    seyi    
     6 years ago
    0

    There is definitely an issue there.  So you have 2 options you can choose which you like best:

    1. activate the poor mans cron again, and use that for now
    2. deactivate poor man's cron, but then you will need to make one edit in the code, here it is:
    in the file: www/administrator/components/com_awocoupon/helpers/cron.php, around line 43 is this:
    <?php
            
    if( ! $this->timetoRunCron() ) return;
    ?>


    Comment it out, or delete it
    <?php
            
    //if( ! $this->timetoRunCron() ) return;
    ?>

  • Default avatar
    opt2bout    
     6 years ago
    0

    That works and the cron message on the backend is now updating!  Thank you.