@extends('totem::layout') @section('page-title') @parent - {{ $task->exists ? 'Update' : 'Create'}} Task @stop @section('main-panel-before')
{{csrf_field()}} @stop @section('title')
{{ $task->exists ? 'Update' : 'Create'}} Task
@stop @section('main-panel-content')
Provide a descriptive name for your task
@if($errors->has('description'))

{{$errors->first('description')}}

@endif
Select an artisan command to schedule
@if($errors->has('command'))

{{$errors->first('command')}}

@endif
Command parameters required to run the selected command

Select a timezone for your task. App timezone is selected by default
Type
Choose whether to define a cron expression or to add frequencies

Add a cron expression for your task
@if($errors->has('expression'))

{{$errors->first('expression')}}

@endif
Add frequencies to your task. These frequencies will be converted into a cron expression while scheduling the task
Add Frequency @include('totem::dialogs.frequencies.add')
Frequency Parameters
@{{ frequency.label }} @{{ parameter.value }} , No Parameters
No Frequencies Found
@if($errors->has('frequencies'))

{{$errors->first('frequencies')}}

@endif

Add an email address to receive notifications when this task gets executed. Leave empty if you do not wish to receive email notifications
@if($errors->has('notification_email_address'))

{{$errors->first('notification_email_address')}}

@endif
Add a phone number to receive SMS notifications. Leave empty if you do not wish to receive sms notifications
@if($errors->has('notification_phone_number'))

{{$errors->first('notification_phone_number')}}

@endif
Add a slack web hook url to recieve slack notifications. Leave empty if you do not wish to receive slack notifications
@if($errors->has('notification_slack_webhook'))

{{$errors->first('notification_slack_webhook')}}

@endif

Miscellaneous Options
  • Decide whether multiple instances of same task should overlap each other or not.
  • Decide whether the task should be executed while the app is in maintenance mode.
  • Decide whether the task should be executed on a single server.
  • Decide whether the task should be executed in the background.

Cleanup Options
  • Determine if an over-abundance of results will be removed after a set limit or age. Set non-zero value to enable.
@stop @section('main-panel-footer') @if($task->exists) Cancel @else Cancel @endif @stop @section('main-panel-after')
@stop