Scheduled Jobs Setups

Schedule Job - How to Trigger a Headoffice Schedule Job from a Remote Venue SmartPOS

Overview

This guide will show you the configuration in order to trigger a Schedule job that is required to run from Headoffice only via a function button on a remote venue SmartPOS in order to achieve functionality like changing printer profiles and sending down Venuedatabase from a button press at SmartPOS.

This is a workaround due to the current limitation of the function button "Run Job at Server" which will on trigger Schedule job on the Local/Venue Smartcontroller. 

These Schedule jobs will be trigger using a custom audit to trigger the Schedule job at Headoffice and then chain a Venue Cloud Database to ensure that changes are sent to the remote sites. 

​​​​​​​Prerequisites​​​​​​​

  • Cloud Databases


System Products at Zero Price.

In this example, I will be using 2 System products at zero price to Switch Printing profiles on my product base from Printer Profile KP 1 and to have the ability to switch back to  Printer Profile of KP2

  • Create a product for each Schedule Job you want to trigger in this example I will create

  • Change Printer Profiles KP1

  • Change Printer Profiles KP2

Schedule Jobs

The next step is to setup the Schedule jobs you want to trigger from the remote site. 
In this example, I will have 3 Schedule jobs 

  1. To trigger the Switch to Printer Profiles KP1 

  1. To trigger the Switch to Printer Profiles KP2

  1. A Chain Cloud Venue Database to ensure the changes are filtered down to the remote sites

 

  • Create Schedule job for Printer Profile KP1 change 

  • Create Schedule job for Printer Profile KP2 change 

  • Create Schedule job for Sending Daily changes only for Cloud Databases and chain the job to KP1 and KP2 Printer profile jobs 

Custom Audits 

The next step is we need to setup an custom audit in order to trigger an alert to trigger the schedule jobs to run on the Headoffice Smartcontroller. 

You will have to create a custom audit for each Schedule job you want to trigger. 
In my example, I will have 2 custom audits. 

  1. To Trigger Printer Profiles KP1

  1. To Trigger Printer Profiles KP2

 

  • Create Custom Audit Printer Pro Venue 1 KP1 - Specify the System Product 

  • Create Custom Audit Printer Pro Venue 1 KP2 - Specify the System Product 

Alerts 

You will now create the alerts that will trigger the Schedule jobs 
You will have to create an alert for each schedule job you want to trigger. 

 

  • Create Alert Printer Profile Venue 1 KP1

  • Select Audit Custom

  • AuditCustomID will be the Custom Audit you created in the previous step. 

  • You can specify the Audit level to information only or warning or critical to ensure you have a visual of the audit triggering. 

  • Select the Job you want to trigger.

 

Function Buttons

You will now assign the System product you created to the function map using the PLU Sales function with "Fixed PLU Auto Cash"
Create two function buttons on the desired panel. 

  1. Change Printer Profiles to KP1

  1. Change Printer Profiles to KP2

 

Send Changes to Remote Venue

Ensure the changes are populated to the remote venue. 
Test using the newly created function buttons 
The function button will auto finalize the sale and result in a Schedule jobs triggering at HO and then chaining into the Venue Cloud send.

Cloud Database are recommend as only the changes will be sent to the remote site resulting in the venue database processing within minutes on the remote site to ensure the changes take effect as fast as possible.