Advanced

Cron jobs (scheduled tasks)

Run a command every few minutes, hourly or nightly.

  1. Add one
  2. Examples

Add one

Cron jobs → choose a common setting (every 5 minutes, nightly…) → type the command → Add. Times are IST.

Examples

# WordPress real cron (then add define('DISABLE_WP_CRON', true); to wp-config.php)
/usr/bin/php /home/USER/web/yourdomain.com/public_html/wp-cron.php >/dev/null 2>&1
# Laravel scheduler — every minute
cd /home/USER/web/yourdomain.com/public_html && php artisan schedule:run >> /dev/null 2>&1
# Node.js script, logging output
cd /home/USER/web/yourdomain.com/app && /opt/cloudninza/node/24/bin/node jobs/daily.js >> /home/USER/tmp/cron.log 2>&1

Stuck? Our engineers answer support tickets around the clock. Contact us, or create an account and open a ticket from the dashboard — the same guides are there too.

Next step

Move your site, or your whole cloud estate

Shared hosting you can buy in two minutes. Infrastructure and managed services quoted by an engineer within one business day.