Okay
  Public Ticket #3660677
Add Cron
Closed

Comments

  • Mert started the conversation

    Hello, I will add cron. I installed the WP Crontrol plugin. I followed the steps below:

    1. Go to Tools/Cron Events, and click on the "Cron Schedules" tab. In it, add a 15-minute interval:
    2. Then go back to the "Cron Events" tab and click on "Add new":
    3. Below it, select the "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:

    I can't find the php cron event radio button in step 3. (view screenshot) I think an update has been made but I don't know what to do with this update.

    Can you help me?

    Attached files:  WhatsApp Image 2024-06-04 at 20.49.00.jpeg

  •  1,501
    Uroš replied

    Hello Mert,

    Thank you for reaching out to us.

    We can confirm that the process is still the same for WP Crontrol,

    It seems that you simply don't see the "PHP Event" radio option while making a new Cron Event in WP Crontrol.

    Here is how it should look, a screenshot from our testing environment when adding a new Cron job:

    6585683207.png

    Please take a look at this official WP Crontrol Page, in the FAQ section, find this question "which users can manage PHP cron events".

    They mention a possible reason why users can't see the "PHP Event" radio button (the user you're logged in to WordPress with most likely doesn't have the edit_files capability).

    Crons are scheduled tasks of the server, and this is a 3rd party plugin, so it is not an issue coming from Amelia.

    Please make sure you have the latest WP Crontrol version installed and go through the steps explained in their FAQ section, which is mentioned above.

    Also, there's a possibility that a security plugin disallows file editing, which as a result hid that "PHP cron event" option selection in WP Crontrol. In iThemes Security there's a "Disable File Editor" option in settings, and that needs to be turned off as well. If you're using a different security plugin, look for a similar option, or reach out to that plugin's support team.

    SiteGround Optimizer -> Frontend Optimization -> Javascript -> Defer Render-blocking JavaScript (uncheck)

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Mert replied

    Thank you Uroš. I found a solution based on what you said. To help you, I explain it below:

    Log into control panel.
    Open File Manager under Files & Security.
    Locate the file wp-config.php and check the box to select it.
    Click Edit in the menu bar at the top of your screen.
    Search wp-config for define('DISALLOW_FILE_EDIT', it is usually located towards the bottom.
    define( 'DISALLOW_FILE_EDIT', true ) In this line, replace true with "false".
    define( 'DISALLOW_FILE_EDIT', false)


    I hope it helps. Good luck

  •  1,501
    Uroš replied

    Hello Mert,

    Glad to hear that you resolved this issue.

    Thank you for sharing that with us.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables