File: //snap/google-cloud-cli/394/help/man/man1/gcloud_tasks_run.1
.TH "GCLOUD_TASKS_RUN" 1
.SH "NAME"
.HP
gcloud tasks run \- force a task to run now
.SH "SYNOPSIS"
.HP
\f5gcloud tasks run\fR \fITASK\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fB\-\-queue\fR=\fIQUEUE\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Force a task to run now.
.SH "EXAMPLES"
To run a task:
.RS 2m
$ gcloud tasks run \-\-queue=my\-queue my\-task
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fITASK\fR
The task to run.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The location where we want to manage the queue or task. If not specified, uses
the location of the current project's App Engine app if there is an associated
app.
.TP 2m
\fB\-\-queue\fR=\fIQUEUE\fR
The queue the task belongs to.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha tasks run
.RE
.RS 2m
$ gcloud beta tasks run
.RE