{{ $task->exists ? 'Update' : 'Create' }} Task
Description
Provide a descriptive name for your task
@if ($errors->has('description'))

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

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

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

@endif
Parameters (Optional)
Command parameters required to run the selected command

Timezone
Select a timezone for your task. App timezone is selected by default
Type
Choose whether to define a cron expression or to add frequencies
Expression
Frequencies
Cron Expression
Add a cron expression for your task
@if ($errors->has('expression'))

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

@endif
Frequencies
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

Email Notification (optional)
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
SMS Notification (optional)
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
Slack Notification (optional)
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.
dont_overlap) ? '' : 'checked' }}> dont_overlap) ? 'checked' : '' }}> Don't Overlap
run_in_maintenance) ? '' : 'checked' }}> run_in_maintenance) ? 'checked' : '' }}> Run in maintenance mode
run_on_one_server) ? '' : 'checked' }}> run_on_one_server) ? 'checked' : '' }}> Run on a single server
run_in_background) ? '' : 'checked' }}> run_in_background) ? 'checked' : '' }}> Run 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.
Auto Cleanup results after

auto_cleanup_type) !== 'results' ? 'checked' : '' }}> Days
auto_cleanup_type) === 'results' ? 'checked' : '' }}> Results
@if ($task->exists) Cancel @else Cancel @endif