run-task - Cloud Foundry CLI Reference Guide |
cf run-task APP_NAME [--command COMMAND] [-k DISK] [-m MEMORY] [--name TASK_NAME] [--process PROCESS_TYPE]
cf run-task my-app --command "bundle exec rake db:migrate" --name migrate
cf run-task my-app --process batch_job
cf run-task my-app
Der auszuführende Befehl
Grenzwert für Platte (z.B. 256M, 1024M, 1G)
Speicherbegrenzung (z.B. 256M, 1024M, 1G)
Name für die Task (wird bei Auslassung generiert)
Process type to use as a template for command, memory, and disk for the created task.
Wait for the task to complete before exiting