Skip to content

mw toolforge job run

Releasev0.35.0 · cfeceb67

mw toolforge job run [job name] [flags]

Run a new job of your own in Toolforge

--command <string>
Full path of command to run in this job
--continuous
Run a continuous job
--cpu <string>
Specify additional CPU limit required for this job
--emails <string>
Specify if the system should email notifications about this job Default: none.
--filelog
Explicitly enable file logs on jobs using a build service created image
-e, --filelog-stderr <string>
Location to store stderr logs for this job
-o, --filelog-stdout <string>
Location to store stdout logs for this job
--health-check-script <string>
Specify a health check command to run on the job if any
--image <images>
Image shortname (check them with images)
--mem <string>
Specify additional memory limit required for this job
--mount <string>
Specify which shared storage (NFS) directories to mount to this job
--no-filelog
Disable redirecting job output to files in the home directory
-p, --port <int>
Specify the port to expose for this job. Only valid for continuous jobs
--replicas <int>
Specify the number of job replicas to be used. Only valid for continuous jobs
--retry <int>
Specify the retry policy of failed jobs
--schedule <string>
Run a job with a cron-like schedule
--wait <int>
Wait for job one-off job to complete
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-t, --tool <string>
Tool name (auto-detected when running as a tool)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.