Skip to content

Commit

Permalink
Remove object syntax for specifying cronjobs (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
david0xd authored Dec 22, 2023
1 parent 28d5589 commit a1ed0a1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions snaps/reference/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ Specify this permission in the manifest file as follows:
"endowment:cronjob": {
"jobs": [
{
"expression": {
"minute": "*",
"hour": "*",
"dayOfMonth": "*",
"month": "*",
"dayOfWeek": "*"
},
"expression": "* * * * *",
"request": {
"method": "exampleMethodOne",
"params": {
Expand All @@ -52,7 +46,7 @@ Specify this permission in the manifest file as follows:
}
},
{
"expression": "* * * * *",
"expression": "*/2 * * * *",
"request": {
"method": "exampleMethodTwo",
"params": {
Expand Down

0 comments on commit a1ed0a1

Please sign in to comment.