{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2016 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* This template is used for adding/configuring Scheduled Jobs. *}

{if $action eq 1}{ts}New Scheduled Job{/ts}{elseif $action eq 2}{ts}Edit Scheduled Job{/ts}{elseif $action eq 128}{ts}Execute Scheduled Job{/ts}{else}{ts}Delete Scheduled Job{/ts}{/if}

{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 8}
{ts}WARNING: Deleting this Scheduled Job will cause some important site functionality to stop working.{/ts} {ts}Do you want to continue?{/ts}
{elseif $action eq 128}
{ts}Are you sure you would like to execute this job?{/ts}
{else}
{$form.name.label}{$form.name.html}
{$form.description.label}{$form.description.html}
{$form.run_frequency.label}{$form.run_frequency.html}
{ts}API call:{/ts}

{$form.api_action.html}
{ts}Put in the API method name. You need to enter pieces of full API function name as described in the documentation.{/ts}
{$form.parameters.label}
{docURL page="Managing Scheduled Jobs" resource="wiki"}
{$form.parameters.html}
{$form.scheduled_run_date.label} {$form.scheduled_run_date.html}
{ts}Do not run this job before this date / time. The run frequency selected above will apply thereafter.{/ts}
{if $action eq 1}{ts}Leave blank to run as soon as possible.{/ts}{else}{ts}Leave blank to run at next run frequency.{/ts}{/if}
{$form.is_active.html} {$form.is_active.label}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}