• Resolved suncat18

    (@suncat18)


    I would expect the slot to be blocked if someone already booked that slot. When I was testing I could pick the same slot even after confirmation.

    I read in the forum about setting up cron job. Is setting up a cron job is the only way to clear out the slots that have been taken. My hosting provider does not allow wget. I have never set up a cron job before so want to make sure I have it correctly. Following is what I did.

    I created a php file with the following content:

    <?php
    
    /** 
    * This cron runs every n minutes to clear the reserved slots in the scheduling calendar
    *
    */
    
    _ea-action=clear_reservations > /dev/null 2>&1
    
    

    And in the cPanel they have option to set up the cron so there I entered the following. (I wanted to insert a screenshot here but not sure how to do that, don’t see an option for that and copy paste is not working)

    Min Hour Day Month Weekday command
    */5 * * * * php -q /usr/local/bin/ea-php56 /home/<username>/public_html/wp-admin/Crons/clearschedule.php

    Please let me know whether I have the cron job set up correctly.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nikola Loncar

    (@loncar)

    Hi @suncat18,

    can you please tell me if the field called Multiple work inside EA Settings > Customize page is not checked?

    Regarding cron looks like you are using some kind of extension? You simple should call .../public_html/wp-cron.php

    Best regards,
    Nikola

    Thread Starter suncat18

    (@suncat18)

    Yes, that field is checked. Should it be unchecked? I checked it because I want to make sure that the service provider and the location is available.

    Plugin Author Nikola Loncar

    (@loncar)

    Hi @suncat18, you need to leave that option empty and then try again.

    Best regards,
    Nikola

    Thread Starter suncat18

    (@suncat18)

    Thanks Nikola for responding, it is working now. Not sure whether unchecking the box did the trick or the cron job.

    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Slot available after booking’ is closed to new replies.