Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

cron: minor fixes #50

Closed
wants to merge 3 commits into from

2 participants

@goblin

Two minor fixes to the "cron" resource documentation.

Another thing, as maplebed pointed on IRC, would be to add some example for the command attribute, but I'm not sure what example would be good.

@jamescott
Collaborator

I will make the changes locally for the asterisks needing quoting as strings and the default '*' issue. The "Merge pull request #1" I am not sure what that is trying to do and there are far to many changes in that commit to take in a single pull request.

@jamescott jamescott closed this
@goblin

Thanks, that "merge" commit was me trying to sync up digital-science's clone to upstream... everything on it should already be in opscode master.

This pullreq was basically about these 2 commits that you said you'll include - which is OK :-) thanks

@jamescott
Collaborator
@jamescott
Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 21, 2013
  1. @goblin

    Merge pull request #1 from opscode/master

    goblin authored
    update to upstream
  2. @goblin
  3. @goblin

    The command doesn't default to '*'

    goblin authored
    copy&paste error?
This page is out of date. Refresh to see the latest.
View
2  includes_resources/includes_resource_cron_syntax.rst
@@ -36,7 +36,7 @@ The following example will run at 8:00 PM, every weekday (Monday through Friday)
cron "name_of_cron_entry" do
minute 0
hour 20
- day *
+ day "*"
month 10
weekday 1-5
action :create
View
2  swaps/swap_desc_c.txt
@@ -43,7 +43,7 @@
.. |command lwrp supervisor| replace:: A command that is run when the program starts.
.. |command lwrp windows_batch| replace:: The name of the command to be executed.
.. |command resource batch| replace:: The name of a command to be executed.
-.. |command resource cron| replace:: The command to run. Default value: ``*``.
+.. |command resource cron| replace:: The command to run.
.. |command resource execute| replace:: The name of the command that will be executed. Default value: ``name``.
.. |command resource powershell_script| replace:: The name of the command to execute. Default value: ``name``.
.. |command resource script| replace:: The name of the command to execute. Default value: ``name``.
Something went wrong with that request. Please try again.