Use dsconfig to create one or more tasks and then add them to a task chain for scheduling.
  1. Create a task. The following creates a backup task.
    $ bin/dsconfig create-recurring-task \
      --task-name backup-1 \
      --type backup \
      --set 'email-on-failure:admin2@company.com' \
      --set 'email-on-failure:admin@company.com' \
      --set compress:true \
      --set encrypt:true \
      --set "retain-previous-full-backup-age:4 w" \
      --set retain-previous-full-backup-count:10
  2. Create a task chain to schedule and run recurring tasks.
    $ bin/dsconfig create-recurring-task-chain \
      --chain-name "backup chain" \
      --set recurring-task:backup-1 \
      --set scheduled-date-selection-type:selected-days-of-the-month \
      --set scheduled-day-of-the-month:last-day-of-the-month \
      --set scheduled-time-of-day:02:00