Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
0 1 * * * cd /path/to/registry-source/app && Console/cake cronjob -q

(warning) Prior to v1.1.0, the command was cake cron, not cake job.

This will run automatic processing every morning at 1am. -q will suppress any non-critical messages.

Currently, the only supported functionality is to automatically execute Expiration Policies. As such, once per day should be sufficient, to cover expirations driven by valid through dates. (warning) This recommendation may change in a future release.

(warning) The cron command should run as the web server user in order to avoid problems with file permissions.

More sophisticated usage patterns are possible, depending on the requirements of a given deployment. See Registry Job Shell for more information.

See also:

Next: Registry Installation - Testing