Cronfree Time Scheduler creates multiple reoccurring tasks with no-code automation.
Emit new event when a new message is received. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})