You can set up schedules to automatically restart your server, send commands, create backups, or perform game-specific tasks such as wiping Rust servers.
Note: Schedule times are in UTC +0. We recommend restarting your servers at least once every 24 hours for optimal performance.
Creating a Schedule
- Load the GhostCap Game Panel and select your server.
- In the left-hand menu, click
Configuration > Schedules. - Click the
Createbutton. - Give your schedule a descriptive name (e.g., "Daily Restart" or "Hourly Backup").
- Enter the schedule time in cron format. See templates below.
- The panel will show when the next run will occur in your local time.
- Click Submit, then click
Create Taskand select the type of task you want to perform.
Task Types
- Power Action: Start, stop, or restart your server
- Command: Execute server commands (e.g., save-all, broadcast messages)
- Backup: Create automatic backups
- Custom Tasks: Game-specific actions like Rust wipes
Multiple Tasks in One Schedule
To run multiple tasks in sequence (e.g., save command before restart):
- Create your first task (e.g., Command: "save-all")
- Add another task with a
Time Offsetin seconds - For example: 30-second offset gives the save time to complete before restart
Popular Restart Times (Cron Format)
Time Zone Specific (4 AM Local Time)
| Location | Time Zone | Cron Entry | Description |
|---|---|---|---|
| Singapore | UTC+8 | 0 20 * * * | 4 AM Singapore time |
| Sydney | UTC+10 | 0 18 * * * | 4 AM Sydney time |
| Los Angeles | UTC-8 | 0 12 * * * | 4 AM Los Angeles time |
| Dallas | UTC-6 | 0 10 * * * | 4 AM Dallas time |
| New York | UTC-5 | 0 9 * * * | 4 AM New York time |
| London | UTC±0 | 0 4 * * * | 4 AM London time |
| Frankfurt | UTC+1 | 0 3 * * * | 4 AM Frankfurt time |
Common Schedule Patterns
| Description | Cron Entry | Example |
|---|---|---|
| Every hour | 0 * * * * | Runs at every hour |
| Every 2 hours | 0 */2 * * * | Runs at 0, 2, 4... |
| Every 4 hours | 0 */4 * * * | Runs at 0, 4, 8... |
| Every 6 hours | 0 */6 * * * | Runs at 0, 6, 12... |
| Daily at midnight | 0 0 * * * | Runs at 00 UTC |
| Daily at 4 AM UTC | 0 4 * * * | Runs at 04 UTC |
| Twice daily | 0 0,12 * * * | Runs at 00 and 12 UTC |
Common Schedule Examples
Daily Restart with Save
- Create schedule: "Daily Maintenance"
- Task 1: Command "save-all" (0 second offset)
- Task 2: Power Action "Restart" (30 second offset)
Automated Backups
- Create schedule: "Daily Backup"
- Use cron:
0 5 * * *(5 AM UTC) - Task: Create Backup
Rust Server Wipe
- Create schedule: "Weekly Wipe"
- Use cron:
0 19 * * 4(Thursdays at 7 PM UTC) - Task: Rust-specific wipe command
Best Practices
- Test First: Test your schedule with a near-future time to ensure it works correctly
- Off-Peak Hours: Schedule restarts during your server's least active times
- Announce Restarts: Use command tasks to warn players before restarts
- Stagger Tasks: Use time offsets to ensure tasks complete in order
- Monitor Logs: Check server logs after scheduled tasks run to verify success
Troubleshooting
- Schedule Not Running: Verify your cron syntax at crontab.guru
- Wrong Time: Remember all times are UTC +0, convert from your local time
- Task Failed: Check server logs and ensure the server was online when the task ran
- Commands Not Working: Verify command syntax for your specific game
