Giter VIP home page Giter VIP logo

docs-scheduler's Introduction

Which branch to use?

Note: Provide instructions in your PRs to indicate which branches you want Docs to apply your commits to. In this repo, main is not used. In the event of a new minor, 2.x, create the new branch from 2.0, not main, which is not up-to-date.

Branch name Use for ... Protected? Active? Published URL
main (previously master) NOT USED yes no Not published
2.0 v2.0 yes yes Staging and Prod
1.6 v1.6 yes yes Staging and Prod
1.5 EOGS v1.5 yes yes Staging and Prod
1.4 EOGS v1.4 yes yes Staging and Prod
1.3 EOGS v1.3 yes yes Staging and Prod
1.2 EOGS v1.2 yes yes Staging and Prod
1.1 EOGS v1.1 yes yes Staging and Prod
1.0 EOGS v1.0 yes yes Staging and Prod

API docs: https://docs.vmware.com/en/Scheduler-for-VMware-Tanzu/services/scheduler-vmware-tanzu-api/index.html

Tanzu Scheduler is scheduler service exposed as a service broker in the Marketplace. App developers use Scheduler to create, schedule, and interact with jobs that execute on VMware Tanzu Application Service.

You can:

  • Create jobs to execute tasks (Diego tasks)
  • Execute jobs on an ad hoc basis
  • Schedule jobs to execute on a recurring basis
  • View job status and history

Staging docs: https://docs-staging.vmware.com/en/Scheduler-for-VMware-Tanzu/index.html Production docs: https://docs.vmware.com/en/Scheduler-for-VMware-Tanzu/index.html

docs-scheduler's People

Contributors

akihirokitada avatar animatedmax avatar anita-flegg avatar cadethacker avatar cf-meganmoore avatar cshollingsworth avatar dependabot[bot] avatar fj avatar ghanna2017 avatar heidmotron avatar henryborys avatar ljarzynski avatar llamadew avatar mlimonczenko avatar ntdt avatar pspinrad avatar radaeze avatar richardjjg avatar seviet avatar snneji avatar theckkw avatar vikafed avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-scheduler's Issues

no mention in docs that scheduled tasks should be idempotent

It's not a requirement that scheduled jobs be idempotent, but it's a really really really good idea. The product all but assumes that the resolution of a failed job is just to run the job again later. There are few if any tools for pausing or ad hoc execution of scheduled jobs for that reason. Some customers are using scheduler with non-idempotent tasks and finding it challenging. Perhaps we can warn off those use cases earlier, or at least make them aware they are not using it in the best possible way.

Plan Name and Name

There are 2 fields for the tile - Name and Plan Name. Both should be documented. For example, does Name refer to the tile name, the bosh deployment name, or the service name as reported by "cf marketplace"?

Quartz Cron: conflicting starting day of week

Docs says "Day of week starts at 0 for Sunday".
However when I tried to run a job earlier today (Wednesday) I needed to use 4 instead of 3:
25 16 ? * 4
So, it seems that the docs are wrong regarding the starting of the week, or that some information is missing.

Also, I believe the example "Every week at 6pm on Friday:" should be
cf schedule-call my-call "0 18 ? * 6"

It would be really nice to have a table with the corresponding weekdays and their numbers/abbreviations.
Also, the scheduling use UTC dates, however I found difficult to find this info on the docs.

cf delete-job-schedule syntax is wrong in documentation

On https://docs.pivotal.io/pcf-scheduler/1-2/using-jobs.html#list-jobs, it indicates the syntax is

cf delete-job-schedule SCHEDULE-GUID

However, when running the plugin, the following usage message is returned:

Incorrect Usage: the required arguments are JOB_NAME and SCHEDULE_GUID

NAME:
delete-job-schedule - deletes a schedule for a job

USAGE:
delete-job-schedule JOB_NAME SCHEDULE_GUID [--force]

OPTIONS:
--force, -f Force deletion without confirmation

Documentation should reflect all parameters... i.e.:

cf delete-job-schedule JOB-NAME SCHEDULE-GUID

Please configure GITBOT

Pivotal uses GITBOT to synchronize Github issues and pull requests with Pivotal Tracker.
Please add your new repo to the GITBOT config-production.yml in the Gitbot configuration repo.
If you don't have access you can send an ask ticket to the CF admins. We prefer teams to submit their changes via a pull request.

Steps:

  • Fork this repo: cfgitbot-config
  • Add your project to config-production.yml file
  • Submit a PR

If there are any questions, please reach out to [email protected].

Support for PAS 2.4 and 2.5

The document for PCF Scheduler mentions only PAS 2.3 as the last supported version. However, the tile description on Pivnet shows that PAS 2.4 and 2.5 are also supported. So, either this document or PivNet description need to be changed.

Multiple app instances

Hi,
If I have scaled out an an app to have say 8 running instances would a scheduled job/call execute 8 times?
Thanks
John

incorrect syntax for delete-call-schedule

doc shows example call $ cf delete-call-schedule 2b69e0c2-9664-46bb-4817-54afcedbb65d

this would result in:

Incorrect Usage: the required arguments are `CALL_NAME` and `SCHEDULE_GUID`

NAME:
   delete-call-schedule - deletes a schedule for a call

USAGE:
   delete-call-schedule CALL_NAME SCHEDULE_GUID [--force]

OPTIONS:
   --force, -f   Force deletion without confirmation

Viewing logs

The docs say to use the cf logs command to view job logs:

You can view logs for jobs by running `cf logs JOB-NAME --recent`. See the following example:

<pre class="terminal">
$ cf logs my-job --recent<br>
Connected, dumping recent logs for app my-app in org my-org / space my-space as user<span>@</span>example.com...
[...]
2017-04-19T23:04:13.79-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT Creating container
2017-04-19T23:04:14.01-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT Successfully created container
2017-04-19T23:04:14.22-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT bin
2017-04-19T23:04:14.22-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT db
2017-04-19T23:04:14.23-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT Exit status 0
2017-04-19T23:04:14.24-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT Destroying container
2017-04-19T23:04:14.55-0600 [APP/TASK/cc6fab7f-32a9-4404-4574-b0c430a96cd9 -|- 0d30f4f0-11a4-4d6a-7e77-5e1cdc1aa5ec/0]OUT Successfully destroyed container
[...]
</pre>

However, that didn't work when I tried it. cf logs appears to expect an app name, not a job name:

$ cf run-job test-job
Enqueuing job test-job for app <app> in org <org> / space <space> as <user>...
OK

$ cf logs test-job --recent
Retrieving logs for app test-job in org <org> / space <space> as <user>...

Application 'test-job' not found.
FAILED

Management of Time during DAY LIGHT SAVINGS

How this PCF Job scheduler handles Job during daylight Saving . For Example - I am running a job Every Sunday at 5PM EST . Will the job start at 4PM EST during Daylight Savings, or it will be starting at 5 PM only?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.