+ Reply to Thread
Results 1 to 6 of 6

Thread: cron job acting funny

  1. #1
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028

    cron job acting funny

    Each day it seems my cron job runs twice at the same time ?

    example

    11:30 am cron run
    11:30 am cron run
    -
    11.30 pm cron run
    11:30 pm cron run

    it is normal that it runs 2 times a day morning and night, but not normal that it runs twice both morning and night ? only been happening since updated to the new template ?
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,160
    Hello,

    How do know that in total it runs 4-times a day ?

    the template can't affect it

    only cron job executes cron file

    you should check it again and make sure there is only one cron command

  3. #3
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    ? Where does one check that ?

    made no changes here / not sure but it seems to be running twice at the same time ?

    will check in my cpanel if i can find anything there ?

    thanks
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  4. #4
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Current Cron Jobs
    Minute Hour Day Month Weekday Command Actions
    0 0,12 * * * php /home/abc1234/public_html/cron/index.php

    in my cpanel there is only one instance of a cron, but each 12 hours I get 2 notifications both the same sent at the same time / 4 notifications per day (2 each 12 hours)?

    is there anywhere else i need to check ? in settings ?
    Last edited by Pete Young; November 26, 2019 at 07:19 AM.
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,160
    I've checked cron file on your end and it works properly

    I've got only one email per one launch

    I think you need to contact your hosting about this issue, what could be the problem of running cron twice

  6. #6
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    No worries Rudi, I will give them a shout out and see if they can fix it, thank you for the update.
    Getting Started or Starting Over with Your Classified Site? then Get Ready Set Fly V 4.7.1 > quietSecrets.net

+ Reply to Thread