Skip to content

Commit 3313d26

Browse files
committed
small change to bring some clarification to the rrule
1 parent 95311f8 commit 3313d26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter-notebooks/tasking-api/planet_tasking_api_monitoring_orders.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"\n",
200200
"To make things easier, we will default the start time to start tomorrow with the aim of taking four images if we stick to the weekly cadence. Of course, feel free to change this to suit your needs, but if you do, take note that all times should be in UTC format.\n",
201201
"\n",
202-
"Monitoring Tasking Orders are composed slightly different than other types of Tasking Order in that they do not require an *end time* to be defined, in fact the end time is ignored even if it is provided. Instead it requires a **rrule** string to be defined that will set the frequency, the interval and the count, which, when taken together, define the overall cadence pattern for the monitoring order. The only required field in the rrule stirng is the **count**, although in this example we are also defining the frequency, the interval and the week start. More information on the rrule and how it is used for Tasking Orders can be found in the [Planet Developers Portal](https://developers.planet.com/docs/tasking/examples/monitoring)\n"
202+
"Monitoring Tasking Orders are composed slightly different than other types of Tasking Order in that they do not require an *end time* to be defined, in fact the end time is ignored even if it is provided. Instead it requires a **rrule** string to be defined that will set the frequency, the interval and the count, which, when taken together, define the overall cadence pattern for the monitoring order. The only required field in the rrule string is the **count**, although in this example we are also defining the frequency, the interval and the day that each cadence event should begin using the **BYDAY** parameter. More information on the rrule and how it is used for Tasking Orders can be found in the [Planet Developers Portal](https://developers.planet.com/docs/tasking/examples/monitoring)\n"
203203
],
204204
"cell_type": "markdown",
205205
"metadata": {}
@@ -233,7 +233,7 @@
233233
"tomorrow = datetime.now(pytz.utc) + timedelta(days=1)\n",
234234
"\n",
235235
"# define the rrule\n",
236-
"rrule=\"FREQ=WEEKLY;COUNT=4;INTERVAL=1;WKST=MO\"\n",
236+
"rrule=\"FREQ=WEEKLY;COUNT=4;INTERVAL=1;BYDAY=MO\"\n",
237237
"\n",
238238
"monitoring_parameters = {\n",
239239
" 'start_time': tomorrow.isoformat(),\n",

0 commit comments

Comments
 (0)