Technical

Automate using Task Scheduler App

The MS Windows Task Scheduler App is a MS Windows application that EBMS uses to automate recurring processes such as sending documents via email, download vendor files, create recurring invoices, or communicate EDI information between companies.  

Task Scheduler App ERP Support Training

The Task Scheduler App does use an EBMS concurrent license during the period when the process is launched.  Schedule automated processes during off hours to reduce the possibility of limited licenses.  Review Server Manager > User License Allocation for additional license details.

Complete the following steps to setup a scheduled recurring process:

  1. Open the Task Scheduler app in Windows 10. 

  2. Click Action > Create Task to open the following dialog:

  3. Enter a process Name into Task Scheduler to identify the process.

  4. Select the Run whether user is logged on or not option as shown above.

  5. Enable the Run with highest privileges option.   

  6. Set the Configure for to match the operating system of the device.    The recommended device is on the server.

  7. Click on the Triggers tab of the dialog.

  8. Click New to create a New Trigger schedule as shown below:

  9. Set the Begin the task option On a schedule.

  10. Set the schedule Settings based on the activity.   Set this option to Daily for many processes including those that regularly check for information.   Select Weekly or Monthly for less frequent processes such as e-mailing statements or reports.

  11. Schedule the Start time sometime during non-business hours so these processes do not effect EBMS business processes.

  12. Enable the Repeat task every: _________  setting for a duration of: 1 Day for processes that need to be activated more than once a day.  Use Repeat task every: 15 minutes for a duration of: 1 Day to convert files or other frequent processes that require immediate action as soon as the data is available.
    Disable this option if a daily, weekly, or monthly process is sufficient.

  13. Enable the Stop task if it runs longer than: 30 minutes.  Increase this time for lengthy processes.  

  14. Turn the Enabled option ON and click OK.

  15. Click on the Actions tab and click New to open the Edit Action dialog as shown below:

  16. Set the Start a Program Action.

  17. Enter the EBMS software file (EBMS.EXE).

  18. Copy the URL based on the following type of EBMS function that is being automated:

    1. Auto Send:  The URL is found in the File > Auto Send Options > Auto Send Modes and select an auto send mode.  The URL is found at the bottom of the Properties > Send Mode Properties dialog tab.  Review [Sales] CRM > Auto Send > Overview and select the document you wish to send via Task Scheduler.  

    2. Text Import/Export Utility:  The URL is found in File > Utilities > Text Import/Export Mappings and open a mappings record.  Select one of the 3 available URL settings at the bottom of the dialog.  Review Utilities > Text Data Import and Export Utility > Overview for details.

    3. Recurring billing:  The URL is found on the bottom of the Sales > Recurring Billing dialog.

    4. Keystone Inventory Update:  The URL is found in Inventory > Options > Automotive tab.  Click Keystone Inventory Update Options at the bottom of the dialog.  Review Automotive > Keystone Interface > Setup for more details on the setup settings including the URL.

  19. Edit the URL copied from the URL field in the dialogs listed in the previous step.  The URL will appear similar to "/URL:"ebms:dbscript?command=[script name]&ServerName=[server name]&CompanyId=[COM]&UserName=[user]&Password=[password]&ShowUI=false&ConnectExisting=false".   This is only a sample URL so do not use this text.  Use the text copied from the appropriate URL field.

    1. Replace [COM] with the 3 digit CompanyID code used to identify the data set in EBMS Server Manager.  Review Enabling Access to Company Data for steps to access this company ID.

    2. Replace the [user] and [password] with a user name and password that has advanced entry or higher permissions in inventory.  Review Security > Creating Users and Assigning Rights for user name and password setting instructions.

    3. Enter edited URL into the Add arguments entry.   

  20. Enter the EBMS software (EBMS.EXE) file location such as C:\Program Files (x86)\EBMS\ in the Start in entry.   Click OK to save the New Action.

  21. Configure any Conditions settings.  The default Conditions settings should be satisfactory.  

  22. Configure Settings for this action. The default Conditions settings should be satisfactory.  

Repeat these steps to automate multiple EBMS tasks.

Related Videos and Content

Videos