What problem does it solve?
This Skill solves the problem of needing to run scheduled tasks and background processing automatically. It allows for the creation and management of cron jobs, which are executed at predetermined times without the need for manual intervention.
Core Features & Use Cases
- Cron Job Creation: Set up recurring jobs with cron expressions for tasks like backups, data synchronization, and report generation.
- Sandboxed Execution: Run JavaScript code in a secure sandbox environment, ensuring that no malicious actions can be performed.
- Timezone Support: Configure cron jobs to run in any timezone, making it suitable for global operations.
- Execution History: Track the history of job runs, including success and error details.
- Overlap Protection: Ensure that no two cron jobs run simultaneously to avoid conflicts.
- Use Case: Use this Skill to schedule a nightly backup of your database, or to sync your calendar with an external service at regular intervals.
Quick Start
Use the create-cron skill to set up a daily backup of your database. Run the following command: create-cron create name:"daily-backup" description:"Backup the database daily" schedule:"0 2 * * *" timezone:"UTC" code:"const db = await services.db(); await db.backup();"