Hey everyone, I'm excited to have the opportunity to announce another update on behalf of the Standard Library team!
This past week we added scheduled task support to Code.xyz. Scheduled tasks have a huge variety of applications -- checking a webpage for daily changes, sending SMS reminders, creating a weekly dump from a database, and more. Regardless of your use-case, it's never been easier to schedule function executions, either with a simple interval (minute, hour, day, week) and frequency, or with a cron expression.
Our platform of choice for #serverless #faas development is https://t.co/bMwMuyTawU by @StdLibHQ— Functions Conference (@FunctionsConf) September 21, 2018
Learn more through a hands-on workshop at #Functions18 https://t.co/xB0H9eoIs8 pic.twitter.com/zU6NT81cos
In other news, we are headed to Functions 2018 in Toronto at the end of this week. If you're in the area, make sure you stop by and say hello!
Schedule Tasks (API Execution) from Code.xyz
Scheduled task management is now available from Code.xyz. You can find the scheduled tasks integration right next to the Code tab, in the top-left corner of the screen.
Once there, you'll see all of your active tasks running on the left. To create a new task, pick an API from the selector on the right side of the screen.
Then you pick the endpoint (should your API have more than one), give the task a name and specify when you would like to run your task. Scheduling is quite flexible -- simply specify an interval, frequency, and start time (once a minute, twice an hour, four times a day, every Friday at 5PM), or, for more complex timing, use a cron expression. You can find documentation for cron syntax here.
Click Schedule Task - and you'll see your new task appear in the left panel!
If you would like to stop a scheduled task, you can remove it by clicking on its respective trash bin icon in the left panel.
As always, we appreciate your continued support and hope that you discover some solid use-cases for scheduling APIs! If you would like to contact us, please feel free to join our Slack workspace, or follow us on Twitter, @StdLibHQ.
We can't wait to see what you build!