Web Cronjob

This documentation is written using SimplisticNode's cPanel web hosting.

Setting up Cronjob

Firstly, head into cPanel, and under Advanced, look for Cron Jobs.

You'll need to setup 2 cronjobs, one for the playtime hourly, and one per minute.

Make sure to replace YOUR_DOMAIN and YOUR_SECRET with the information you've set in the in-game configuration file.

Per Minute

Under -- Common Settings --, select Once Per Minute (* * * * *)

Command:

/usr/bin/wget -O /dev/null "https://YOUR_DOMAIN/actions/cron-playtime.php?secret=YOUR_SECRET" > /dev/null 2>&1

Then click Add New Cron Job

Per Hour

Under -- Common Settings --, select Once Per Hour (0 * * * *)

Command:

/usr/bin/wget -O /dev/null "https://YOUR_DOMAIN/actions/cron-hourly.php?secret=YOUR_SECRET" > /dev/null 2>&1

Then click Add New Cron Job

Last updated