Why Automate Tasks?
Scheduled tasks keep your server running smoothly without manual intervention. Regular restarts clear memory leaks, automated backups protect your world, and scheduled announcements keep players informed.
Opening Schedules
Log into your Pterodactyl panel on CraftNodes, select your server, and click the Schedules tab. Click Create Schedule.
Schedule a Daily Restart
- Set the cron expression to
0 4 * * *for 4:00 AM daily - Add a task: Send command
say Server restarting in 30 seconds! - Add another task with 30 second delay: Power action — Restart
Schedule Automated Backups
- Create a schedule for
0 3 * * *(3 AM daily) - Add a task: Create Backup
Schedule Save Commands
Run /save-all every hour to ensure your world is saved regularly:
Cron: 0 * * * *, Task: Send command save-all
Cron Expression Guide
A cron expression has five parts: minute, hour, day of month, month, day of week. Use crontab.guru to build your cron expressions visually.