tools/data/cron parser
// data

cron parser

translate schedules to english

minute · hour · day-of-month · month · day-of-week // client-only
— enter a cron expression
*
minute
*
hour
*
day
*
month
*
weekday
// next 8 runs
— parse a valid expression first
// common schedules
curl -sX POST 'https://api.whittly.dev/v1/cron/parse' \
  -H 'Authorization: Bearer $WHITTLY_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"expression":"*/5 9-17 * * 1-5"}'
const res = await fetch('https://api.whittly.dev/v1/cron/parse', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + apiKey,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ expression: "*/5 9-17 * * 1-5" }),
});
const data = await res.json();
const { data } = await axios.post(
  'https://api.whittly.dev/v1/cron/parse',
  { expression: "*/5 9-17 * * 1-5" },
  { headers: { Authorization: 'Bearer ' + apiKey } }
);
// prosaved expressionspro·history syncproupgrade →
// history
Pro Cloud Sync — upgrade
no operations yet