# Pre-registeration Booking Slot issue

**URL:** <https://community.mosip.io/t/pre-registeration-booking-slot-issue/1029>\
**Category:** Support\
**Tags:** pre-registration\
**Created:** [February 14, 2024, 6:58am UTC](https://community.mosip.io/t/pre-registeration-booking-slot-issue/1029 "2024-02-14T06:58:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manikandan\_manikanda](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/manikandan_manikanda/32/946_2.png) [@manikandan\_manikanda](https://community.mosip.io/u/manikandan_manikanda)\
**Post date:** [February 14, 2024, 6:58am UTC](https://community.mosip.io/t/pre-registeration-booking-slot-issue/1029/1 "2024-02-14T06:58:08Z")

</div>

The admin portal updated the morning that time the booking slots were available but afternoon all the available slots were gone. I refer to the pre-registration document the document says the job service Creating the booking slots (if not available) for the next 140 days (configurable) using the details available for the centers like center working hours, lunch breaks, no. of Kiosks, slot booking times & holidays. but slots are not created. anybody please help us to resolve that

Reference doc Url: [Pre-Registration Functionality - MOSIP Docs 1.1.5](https://docs.mosip.io/1.1.5/modules/pre-registration/pre-registration-functionality)

---

<div class="post-metadata">

**Author:** ![mayuradesh](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mayuradesh](https://community.mosip.io/u/mayuradesh)\
**Post date:** [February 15, 2024, 12:23pm UTC](https://community.mosip.io/t/pre-registeration-booking-slot-issue/1029/2 "2024-02-15T12:23:43Z")

</div>

PreReg batch jobs runs as per below CRON schedule **which is configurable**

`preregistration.job.schedule.cron.consumedStatusJob=0 0 0 * * ?`  
`preregistration.job.schedule.cron.slotavailability=0 0 0 * * ?`  
`preregistration.job.schedule.cron.expiredStatusJob=0 0 0 * * ?`  
`preregistration.job.schedule.cron.purgeExpiredRegCenterSlots=0 0 0 * * ?`

The Cron pattern consists of six space-separated fields:

`<second> <minute> <hour> <day of month> <month> <day of week>`

So as per above schedule, slot creation will be triggered at 00:00:00 hrs at midnight every day.

Please check the CRON schedule that if configured in your setup.

---

<div class="post-metadata">

**Author:** ![manikandan\_manikanda](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/manikandan_manikanda/32/946_2.png) [@manikandan\_manikanda](https://community.mosip.io/u/manikandan_manikanda)\
**Post date:** [February 15, 2024, 2:06pm UTC](https://community.mosip.io/t/pre-registeration-booking-slot-issue/1029/3 "2024-02-15T14:06:37Z")

</div>

Thanks for the quick response.

@mayuradesh What is the default schedule cron?

---

<div class="post-metadata">

**Author:** ![mayuradesh](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mayuradesh](https://community.mosip.io/u/mayuradesh)\
**Post date:** [February 16, 2024, 10:38am UTC](https://community.mosip.io/t/pre-registeration-booking-slot-issue/1029/4 "2024-02-16T10:38:08Z")

</div>

Please check the values in the configuration as per your setup.  
Values mentioned above will trigger the batch jobs at 00:00:00 hrs at midnight every day, every month.
