Update on_schedule.js

This commit is contained in:
Tyler Cooper 2025-08-08 10:25:47 -05:00 committed by GitHub
parent 3c7b38d587
commit 5112a1472f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ export default {
bytecodeKey: "onSchedule",
name: "Schedule",
colour: 30,
description: "Create a time-based trigger that runs actions automatically at specific times, dates, or intervals (e.g., 'Every weekday at 9 AM', 'Every 15 minutes', or 'On the 1st of every month').",
description: "Create powerful time-based automation that runs your Actions on a schedule - from simple daily reminders to complex patterns like 'every 15 minutes during weekdays' or 'first Monday of each quarter'. Works like a smart alarm clock for your IoT devices, automatically triggering actions without any manual intervention. Perfect for turning lights on/off, sending regular reports, or controlling devices based on time patterns.",
connections: {
mode: "statement",
@ -22,25 +22,25 @@ export default {
inputs: {
MONTH: {
description: "Which months to run the schedule (e.g., 'All months', 'January only', or 'Every 3 months starting in March').",
description: "Choose which months to run the schedule. Options include 'All months' for year-round automation, specific months like 'January only' for seasonal control, or patterns like 'Every 3 months starting in March' for quarterly tasks.",
check: "cron_month",
block: "all_months",
},
DAY: {
description: "Which days to run the schedule - either specific days of the month (1-31) or days of the week (Monday, Tuesday, etc.).",
description: "Select which days to trigger your schedule. You can choose specific calendar dates (1-31) for monthly events like 'every 15th', or days of the week (Monday-Sunday) for weekly patterns like 'every Tuesday and Thursday'. Cannot mix both date and weekday options.",
check: "cron_day",
block: "all_days"
},
HOUR: {
description: "Which hours to run the schedule (0-23 in 24-hour format, e.g., '14' for 2 PM or 'Every 4 hours').",
description: "Set the hour(s) when your Action should run, using 24-hour format (0-23). Examples: '9' for 9 AM, '14' for 2 PM, '21' for 9 PM, or 'Every 4 hours' for repeated intervals throughout the day.",
check: "cron_hour",
block: "all_hours"
},
MINUTE: {
description: "Which minutes to run the schedule (0-59, e.g., 'At 15 minutes past the hour' or 'Every 30 minutes').",
description: "Specify the exact minute(s) within the hour to run your Action (0-59). Examples: '0' for on-the-hour (like 9:00), '15' for quarter-past (like 9:15), '30' for half-past, or 'Every 15 minutes' for frequent automation.",
check: "cron_minute",
block: {
type: "one_minute",