• Resolved iboregua

    (@iboregua)


    Dear people,

    Since the last week the EGOI plugin for WordPress Smart Marketing SMS and Newsletters Forms, version 4.0.3 makes cron jobs.

    This is the code from the egoi-for-wp.php file in the plugins/smart-marketing-for-wp map:

    if ( ! wp_next_scheduled( 'egoi_cron_hook' ) ) {// check next time hook will run
    
    wp_schedule_event( time(), 'sixty_seconds', 'egoi_cron_hook' );
    }

    Because of that in the address bar appears the cron job code like this: https://example.com/?doing_wp_cron=1648222954.4815180301666259765625

    In the marketing department they don’t like it at all.

    What is this cron job for? Is it possible to switch it off without serious consequences?

    Have a beautiful day,

    Igor Beuermann

    • This topic was modified 2 years, 8 months ago by iboregua.
    • This topic was modified 2 years, 8 months ago by iboregua.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author E-goi

    (@egoi)

    Hi,

    This cron is use to sync your product catalog (if you have one) with your E-goi Catalog. If you don’t need this feature, you can switch it off.

    Regards,
    E-goi team

    Thread Starter iboregua

    (@iboregua)

    Thanks for a quick reply!

    I can disable the cron in the file. But then I’d need to change for every new version of the plugin.

    In the: WP Dashboard | Smart Marketing | Configuration

    Does the switch Enable Auto Sync has the same function (switching of the cron)?

    Best regards,

    Igor Beuermann

    Plugin Author E-goi

    (@egoi)

    Hi,

    Our plugin use the wp cron (native WP Cron https://developer.www.ads-software.com/plugins/cron/).
    You can disable WP Cron and configure it in your server Cron TAb

    Disable default wp-cron.php behavior
    Open your wp-config.php file with the cPanel File Manager Code Editor.
    Go to the bottom of the database settings in wp-config.php typically around line 37. Add the code: define(‘DISABLE_WP_CRON’, ‘true’);
    Click Save.

    Regards,
    E-goi Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cron job’ is closed to new replies.