Cronfree Time Scheduler creates multiple reoccurring tasks with no-code automation.
Emit new event when a new message is received. See the documentation
Emit new event when you add or modify a new row in a table. See the docs here
Emit new event when new rows are returned from a custom query. See the docs here
The Cronfree API allows you to schedule tasks to run at specific intervals, similar to a traditional cron job, but with the flexibility of web-based management. On Pipedream, you can harness this API to trigger workflows on a schedule, offload periodic tasks from your apps, and integrate with other services to perform actions like sending emails, updating databases, or even automating social media posts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cronfree: {
type: "app",
app: "cronfree",
}
},
async run({steps, $}) {
const data = {
"hookUrl": `{{your_hook_url}}`,
"license_key": `${this.cronfree.$auth.license_key}`,
"wdays": `{{your_wdays}}`,
"months": `{{your_months}}`,
"hours": `{{your_hours}}`,
"minutes": `{{your_minutes}}`,
"timezone": `{{your_timezone}}`,
}
return await axios($, {
method: "post",
url: `https://login.cronfree.com/zapier/schedule`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.
import mysql from '@pipedream/mysql';
export default defineComponent({
props: {
mysql,
},
async run({steps, $}) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql
const queryObj = {
sql: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.mysql.executeQuery(queryObj);
},
});