Skip to content

Background Jobs

Booked Scheduler Free Trial

Get started in seconds, completely free!

Background jobs in Booked are required for many automatic processes.

Background Jobs

As of Booked 3.0, only a single scheduled job is needed for all background tasks. Ensure all existing Booked scheduled job cron/scheduled tasks are removed.

On Linux, a cron job can be used. The command to run is php followed by the full path to /booked/Jobs/jobs.php. 

An example cron configuration might look like: * * * * * php -f /home/yourhost/public_html/Jobs/jobs.php

If you have access to cPanel through a hosting provider, setting up a cron job in cPanel is straightforward. Either select the Every Minute option from the Common Settings menu, or enter * for minute, hour, day, month and weekday.

On Windows, a scheduled task can be used. The task must be configured to run at a frequent interval – at least every 5 minutes. The task to execute is php followed by the full path to Booked\Jobs\jobs.php. For example, c:\PHP\php.exe -f c:\inetpub\wwwroot\Booked\Jobs\jobs.php

Scheduled jobs must be run once per minute.

Reservation Reminders (2.x)

Users can request that reminder emails are sent prior to the beginning or end of a reservation.

In order for this feature to function, enable.email and enable.reminders must both be set to true in Application Configuration. Also, a scheduled task must be configured on your server to execute Jobs/sendreminders.php

On Linux, a cron job can be used. The command to run is php followed by the full path to Jobs/sendreminders.php. 

An example cron configuration might look like: * * * * * php -f /home/yourhost/public_html/Jobs/sendreminders.php

If you have access to cPanel through a hosting provider, setting up a cron job in cPanel is straightforward. Either select the Every Minute option from the Common Settings menu, or enter * for minute, hour, day, month and weekday.

On Windows, a scheduled task can be used. The task must be configured to run at a frequent interval – at least every 5 minutes. The task to execute is php followed by the full path to Booked\Jobs\sendreminders.php. For example, c:\PHP\php.exe -f c:\inetpub\wwwroot\Booked\Jobs\sendreminders.php

Automatically Releasing Reservations (2.x)

If you are using the check in/check out functionality, you can optionally set a resource to be automatically made available if the check in is missed.

On Linux, a cron job can be used. The command to run is php followed by the full path to Jobs/autorelease.php

An example cron configuration might look like: * * * * * php -f /home/yourhost/public_html/Jobs/autorelease.php

If you have access to cPanel through a hosting provider, setting up a cron job in cPanel is straightforward. Either select the Every Minute option from the Common Settings menu, or enter * for minute, hour, day, month and weekday.

On Windows, a scheduled task can be used. The task must be configured to run at a frequent interval – at least every 5 minutes. The task to execute is php followed by the full path to Jobs\autorelease.php. For example, c:\PHP\php.exe -f c:\inetpub\wwwroot\Booked\Jobs\autorelease.php

Waitlist Notifications (2.x)

If you have enabled waitlist notification functionality, you can automatically send notifications to users waiting for a resource to become available.

On Linux, a cron job can be used. The command to run is php followed by the full path to Jobs/sendwaitlist.php

An example cron configuration might look like: * * * * * php -f /home/yourhost/public_html/Jobs/sendwaitlist.php

If you have access to cPanel through a hosting provider, setting up a cron job in cPanel is straightforward. Either select the Every Minute option from the Common Settings menu, or enter * for minute, hour, day, month and weekday.

On Windows, a scheduled task can be used. The task must be configured to run at a frequent interval – at least every 5 minutes. The task to execute is php followed by the full path to Jobs\sendwaitlist.php. For example, c:\PHP\php.exe -f c:\inetpub\wwwroot\Booked\Jobs\sendwaitlist.php

Missed Check In Notifications (2.x)

This notification will be sent to users if they missed the check in time for their reservation.

On Linux, a cron job can be used. The command to run is php followed by the full path to Jobs/sendmissedcheckin.php

An example cron configuration might look like: * * * * * php -f /home/yourhost/public_html/Jobs/sendmissedcheckin.php

If you have access to cPanel through a hosting provider, setting up a cron job in cPanel is straightforward. Either select the Every Minute option from the Common Settings menu, or enter * for minute, hour, day, month and weekday.

On Windows, a scheduled task can be used. The task must be configured to run once per minute. The task to execute is php followed by the full path to Booked\Jobs\sendmissedcheckin.php. For example, c:\PHP\php.exe -f c:\inetpub\wwwroot\Booked\Jobs\sendmissedcheckin.php