{include file="common/head.tpl.html" html5=true}
{if $autorun_modules != false} {/if} {if $invoices} {calendar->init} {/if}
{help->link name="admin_cron_main" class="help-fieldset" ext="relative"}
{$lang.cron_cronjob}
{if $enable_cron_sync_ad} {/if}
{$lang.global_status}: {$cron_active} {$currently_running} {$lang.global_count} {$lang.cron_performed}: {$performed}
{html->checkbox name="cron_fetchmails" value="1" selected=$cron_fetchmails output=$lang.cron_fetchmails} {$lang.cron_checked}: {$cron_mailsfetched} {$lang.global_status}: {$fetchmails_active}
{html->checkbox name="cron_checkdocindex" value="1" selected=$cron_checkdocindex output=$lang.cron_checkdocindex} {$lang.global_time}: {$lang.cron_checked}: {$cron_docindexchecked} {$lang.filemanager_indexed}: {$doc_index_indexed} ({$doc_index_count})
{html->checkbox name="cron_empty_trash" value="1" selected=$cron_empty_trash output=$lang.cron_empty_trash} {$lang.cron_checked}: {$cron_trash_emptied} {$lang.intern_deleted}: {$cron_trash_cnt}
{html->checkbox name="cron_user_gc" value="1" selected=$cron_user_gc output=$lang.cron_user_gc} {$lang.cron_checked}: {$cron_user_gc_done} {$lang.intern_moved}: {$cron_user_gc_cnt}
{html->checkbox name="cron_empty_recycle" value="1" selected=$cron_empty_recycle output=$lang.cron_empty_recycle} {$lang.cron_checked}: {$cron_recycle_emptied} {$lang.intern_deleted}: {$cron_recycle_cnt}
{html->checkbox name="cron_sync_ad" value="1" selected=$cron_sync_ad output=$lang.cron_sync_active_directory} {$lang.cron_checked}: {$cron_last_sync_ad}
 
{cssbutton->link string=$lang.emailfilter_applyfoldersub query="op=admin_internalcron&run_cron=1" script="" onmouseup="disableGrid();"}
{help->link name="admin_cron_module" class="help-fieldset" ext="relative"}
{$lang.global_modules}
{foreach key=idx item=module from=$autorun_modules} {/foreach}
{if $module.hasevents == true} {html->checkbox name="`$idx`_active" value="1" class="autorun_active" onclick="autorun_onclick('$idx', this.id)" selected=$module.active output="`$lang.global_module` `$idx`"} {else} {html->checkbox name="`$idx`_active" value="1" selected=$module.active output="`$lang.global_module` `$idx`"} {/if} {controls->select_single listsave=1 options=$data_users name="`$idx`_user" empty_option=$lang.global_user value=$module.user} {if $module.execute}{cssbutton->click string=$lang.emailfilter_applyfoldersub script=$module.execute}{/if} {cssbutton->click string=$lang.global_reset script=$module.reset} {if $module.hasconfig == true}{cssbutton->click string=$lang.googlecalsync_configuration script="autorun_openconfig('$idx')"}{/if} {$lang.cron_checked}: {$module.last_performed}
{help->link name="admin_cron_invoice" class="help-fieldset" ext="relative"}
{$lang.navigate_billing}
{$lang.optionen_billing_invoice_autorun} {$lang.optionen_billing_invoice_cutoffdate} {calendar->input name="start_date_invoice" } {if $mandators} {$lang.optionen_default_mandator} {controls->select_single name="mandator_invoice" options=$mandators empty_option=$lang.global_pleaseselect} {else} {html->input_hidden id="mandator_invoice" value="0"} {/if} {cssbutton->click string=$lang.emailfilter_applyfoldersub script="ajax.exec('admin_billing', 'ajax_invoices_autorun', $('start_date_invoice').value, $('mandator_invoice').value)"} {$lang.cron_checked}: {$last_run_invoices_from_contracts}
{$lang.optionen_billing_purchase_autorun} {$lang.optionen_billing_invoice_cutoffdate} {calendar->input name="start_date_purchase"} {if $mandators} {$lang.optionen_default_mandator} {controls->select_single name="mandator_purchase" options=$mandators empty_option=$lang.global_pleaseselect} {else} {html->input_hidden id="mandator_purchase" value="0"} {/if} {cssbutton->click string=$lang.emailfilter_applyfoldersub script="ajax.exec('admin_billing', 'ajax_purchases_autorun', $('start_date_purchase').value, $('mandator_purchase').value)"} {$lang.cron_checked}: {$last_run_purchases_from_contracts}
{$lang.optionen_billing_admonitions_autorun} {$lang.optionen_billing_invoice_cutoffdate} {calendar->input name="start_date_admonitions"} {if $mandators} {$lang.optionen_default_mandator} {controls->select_single name="mandator_admonitions" options=$mandators empty_option=$lang.global_pleaseselect} {else} {html->input_hidden id="mandator_admonitions" value="0"} {/if} {cssbutton->click string=$lang.emailfilter_applyfoldersub script="ajax.exec('admin_billing', 'ajax_admonitions_autorun', $('start_date_admonitions').value, $('mandator_admonitions').value)"} {$lang.cron_checked}: {$last_run_invoices_to_admonitions}
{$lang.optionen_billing_deliveries_autorun} {$lang.optionen_billing_invoice_cutoffdate} {calendar->input name="start_date_deliveries"} {if $mandators} {$lang.optionen_default_mandator} {controls->select_single name="mandator_deliveries" options=$mandators empty_option=$lang.global_pleaseselect} {else} {html->input_hidden id="mandator_deliveries" value="0"} {/if} {cssbutton->click string=$lang.emailfilter_applyfoldersub script="ajax.exec('admin_billing', 'ajax_deliveries_autorun', $('start_date_deliveries').value, $('mandator_deliveries').value)"} {$lang.cron_checked}: {$last_run_deliveries_from_contracts}
{$lang.optionen_billing_vouchers_autorun} {$lang.optionen_billing_invoice_cutoffdate} {calendar->input name="start_date_vouchers"} {if $mandators} {$lang.optionen_default_mandator} {controls->select_single name="mandator_vouchers" options=$mandators empty_option=$lang.global_pleaseselect} {else} {html->input_hidden id="mandator_vouchers" value="0"} {/if} {cssbutton->click string=$lang.emailfilter_applyfoldersub script="ajax.exec('admin_billing', 'ajax_vouchers_autorun', $('start_date_vouchers').value, $('mandator_vouchers').value)"} {$lang.cron_checked}: {$last_run_vouchers_from_contracts}
{include file="common/foot.tpl.html"}