Skip to content

update-scheduler-job

Allows you to update a scheduler job.

Syntax:

shell
sfiler-cli [options] update-scheduler-job [command options]
Command optionsRequired / OptionalDescription
-jRequiredJob identifier (JobId).
-eRequiredJob activation status (true to enable, false to disable).

Example:

This example allows you to enable the job with identifier 1.

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" update-scheduler-job -j 1 -e true
shell
.\sfiler-config-cli.bat -l my-user -p my-password -cf "conf\sfiler.conf" update-scheduler-job -j 1 -e true

Note

The information displayed on screen is not modifiable with this command. It is the set-config command that will allow you to fill in the configuration fields for certain jobs.

There are currently three tasks that can take parameters as arguments. Here are the three tasks in question and the parameters for each of them:

  1. "Inactive User"
  • cfg.server.management.service.delete.disabled.user.interval.days : Lifetime of a disabled user (in days).
  • cfg.server.management.service.inactive.user.max.days : Lifetime of an inactive user (in days).
  1. "Community or share cleanup"
  • cfg.server.transfer.service.share.allowed.inactivity.period : Inactivity period before share deletion (in days).
  • cfg.server.transfer.service.share.expiration.notification.days : Number of days before share deletion notice.
  • cfg.server.transfer.service.community.allowed.inactivity.period : Inactivity period before community deletion (in days).
  • cfg.server.transfer.service.community.expiration.notification.days : Number of days before community deletion notice.
  1. "Certificate expiration notification"
  • cfg.server.certificate.expiration.job.certificate.expire.soon.delay : Certificate expiration notification (days).