Submit a Job to the Job Pool Using a Pre-Defined Cron

A Pre-Defined Cron allows you to schedule job submissions to the job pool based on pre-set conditions. In this help section, we are going to go over the steps required to schedule the submission of a job to the job pool using a Pre-defined Cron.

Before you create a pre-defined cron, depending on your job pool type, make sure the following components are configured and present in the Catalyst console:

  • Function Job Pool: The Job Function, if initialized through Catalyst CLI needs to be deployed to the Catalyst console.
  • Webhook Job Pool: Ensure the URL of the third-party URL is a valid one.
  • Circuit Job Pool: Ensure that the Circuit and its associated functions are created and present in the Catalyst console.
  • AppSail Job Pool: Ensure you have deployed your AppSail service to the catalyst console.

Configure the Pre-Defined Cron

To create and configure a Pre-Defined Cron:

  1. Navigate to the Job Scheduling service section of the Catalyst console and click Start Exploring.
catalyst_job_scheduling_start_exploring_page
  1. Access the cron component by clicking Cron under JOB EXECUTOR, and click the Create Cron button present in the Pre-defined tab.
catalyst_job_scheduling_cron_pre_def_create_button
  1. Provide a name for your cron in the Cron Name input field.
catalyst_job_scheduling_cron_pre_def_name
  1. Choose a format type under Select Format Type:

    Standard Format

    1. Select a Schedule Type:

    One-Time Schedule Type

    1. Select the required date by clicking the calendar icon.
    catalyst_job_scheduling_pre_def_cron_std_format_calendar
    1. Provide the time for your cron’s execution using the individual Hours, Minutes, and Seconds drop-downs under Schedule Time.
    catalyst_job_scheduling_pre_cron_sche_format_hrs
    Note: Provide the Schedule Time in the 24-hour time format, and you cannot leave the Hours, Minutes, or Seconds input fields empty.
    1. Select your required time zone from the Time Zone drop-down.
    catalyst_job_scheduling_pre_def_cron_one_time_time_zone
    Note: The time zone you are currently present in will be automatically populated. If you require any other time zone to configure your cron, click the View all time zones option and make your selection from the drop-down.
    1. Confirm your configurations and click Next.
    catalyst_job_scheduling_predef_cron_config_almost_part1

    Recursive Schedule Type

    1. Select the required recurring frequency from the Repeat Type drop-down:
    catalyst_job_scheduling_predef_cron_recur_recur_type
    1. Provide the time for your cron’s execution using the individual Hours, Minutes, and Seconds drop-downs present under Schedule Time.
    catalyst_job_scheduling_predef_cron_recur_sch_time
    Note: Provide the Schedule Time in the 24-hour time format, and you cannot leave the Hours, Minutes, or Seconds input fields empty.
    1. Select your required time zone from the Time Zone drop-down.
    catalyst_job_scheduling_pre_def_cron_one_time_time_zone
    Note: The time zone you are currently present in will be automatically populated. If you require any other time zone to configure your cron, click the View all time zones option and make your selection from the drop-down.

    Optionally, if you wish to terminate the cron schedule eventually, enable the Cron termination details toggle and select the end date using the calendar icon.

    catalyst_job_scheduling_predef_cron_recur_term_date
    1. Confirm your configurations and click Next.
    catalyst_job_scheduling_predef_cron_recur_complete_part1

    Cron Expression Format

    1. Input your Cron Expression in the input field.
    catalyst_job_scheduling_predef_cron_cronexp_start
    Note: You can find the steps to configure cron expressions from this section.
    1. Select your required time zone from the Time Zone drop-down.
    catalyst_job_scheduling_predef_cron_cron_exp_time_zone
    Note: The time zone you are currently present in will be automatically populated. If you require any other time zone to configure your cron, click the View all time zones option and make your selection from the drop-down.
    1. Optionally, if you have defined the schedule of your cron to in a recurssive manner, and if you are required to terminate the cron schedule eventually, enable the Cron termination details toggle and select the end date using the calendar icon.
    catalyst_job_scheduling_predef_cron_cron_exp_termination
    1. Confirm your configurations and click Next. catalyst_job_scheduling_predef_cron_exp_config_complete

We have now completed configuring the Pre-Defined Cron. Now we are going to configure the job that the Pre-Defined Cron will submit to the job pool at the scheduled time, to trigger the required target type.

Configure the Job

Once you click Next after configuring the Cron, you will be directed to create the job that the configured cron must submit.

catalyst_job_scheduling_predef_cron_job_create

To create the required job:

  1. Provide a name for your job in the Job Name input field.
catalyst_job_scheduling_predef_cron_job_sub_job_name
  1. Select the Job Pool you need your Cron to submit the job to, using the Select Job Pool drop-down.
catalyst_job_scheduling_predef_cron_job_sub_jp_sel
Note: The configurations following your Job Pool selection are entirely dependent on the type of Job Pool you created. For the purposes of this help documentation, we are going to illustrate the steps for a Webhook Job Pool. You can find the steps to configure jobs for each of the Job Pool types in the following help sections:
  • Submit a job to the Function Job Poo: here.
  • Submit a job to the Circuit Job Pool: here.
  • Submit a job to the AppSail Job Pool: here.
  1. Enter the complete URL of the webhook you wish to trigger in the input field and select the Request Method from the drop-down.
catalyst_job_scheduling_pre_def_cron_job_sub_reqmeth_url
  1. You can provide Headers & Value in a key-value pair format.
catalyst_job_scheduling_predef_cron_job_sub_header_value
  1. Enable the toggle to input Query Parameters and provide the Params in a key-value format.
catalyst_job_scheduling_predef_cron_job_sub_query_param

You can verify your Query Parameters in the Preview URL section. This section will be automatically populated when you input them.

Note: Query Parameters are custom parameters that you can pass to your webhook. They are passed in a User-Defined format, and you customize the parameter value and include any terms that you require to be passed in the parameter.
  1. Optionally, you can click the Show Advanced Options to provide resubmission instructions.
catalyst_job_scheudling_predef_cron_job_sub_hide_adv_op
- You can choose the number of retries you wish to attempt from the **No. of Retries** drop-down, and you can choose the time interval between each retry attempt using the **Retry Interval** drop-down. catalyst_job_scheduling_predef_cron_job_sub_retry_interval
Note: The retries will only be attempted if the initial submission of the job ended in Failure status. You can choose to attempt a maximum of 10 retries with a minimum retry interval of 1 minute and a maximum retry interval of 24Hrs.
  1. Confirm your configurations, then click Create.
catalyst_job_scheduling_predef_cron_job_sub_config_complete_sub

The Pre-defined Cron will be created, with a unique Cron ID generated by Catalyst. The job the cron is configured to submit will also be created along with its unique Job ID generated by Catalyst. Upon clicking Create, you will be able to view all the details about the created cron and its configurations.

catalyst_job_scheduling_predef_cron_created_completed

If you wish to test the cron and not wait for the scheduled time, you can submit an immediate job to the job pool by clicking the Submit Job button.

catalyst_job_scheduling_predef_cron_job_sub_submit_job_now

A job will be submitted immediately. The configurations of the job will be the one you configured while creating the cron.

You can view the execution status of the job you submitted by clicking the Execution History button.

catalyst_job_scheduling_predef_cron_created_exec_history

The jobs will be listed in the latest order of execution. You can also perform search and filter options on the Execution History operations.

Last Updated 2025-06-03 18:19:55 +0530 +0530