You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -146,9 +150,10 @@ There's no payload required for this task so you can just click "Run test" from
146
150
147
151
In this example we use [Puppeteer](https://pptr.dev/) with a [BrowserBase](https://www.browserbase.com/) proxy to scrape the GitHub stars count from the [Trigger.dev](https://trigger.dev) landing page and log it out. See [this list](/guides/examples/puppeteer#proxying) for more proxying services we recommend.
148
152
149
-
<Note>
150
-
When web scraping, you MUST use the technique below which uses a proxy with Puppeteer. Direct scraping without using `browserWSEndpoint` is prohibited and will result in account suspension.
151
-
</Note>
153
+
<Warning>
154
+
When web scraping, you MUST use the technique below which uses a proxy with Puppeteer. Direct
155
+
scraping without using `browserWSEndpoint` is prohibited and will result in account suspension.
156
+
</Warning>
152
157
153
158
### Task code
154
159
@@ -209,4 +214,4 @@ Here are a list of proxy services we recommend:
Copy file name to clipboardExpand all lines: docs/tasks/scheduled.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@ title: "Scheduled tasks (cron)"
3
3
description: "A task that is triggered on a recurring schedule using cron syntax."
4
4
---
5
5
6
+
<Note>Scheduled tasks are only for recurring tasks. If you want to trigger a one-off task at a future time, you should [use the delay option](/triggering#delay).</Note>
7
+
6
8
## Defining a scheduled task
7
9
8
10
This task will run when any of the attached schedules trigger. They have a predefined payload with some useful properties:
0 commit comments