If you are using the Cron Jobs feature from your hosting or your server crontab, you can run cronjob every 30 seconds by setting up 2 cronjobs running every minute, the second one with a 30-second delay:
* * * * * /path/to/script.sh * * * * * sleep 30 && /path/to/script.sh
Now your script.sh will run every 30 seconds.
FastCron is the best place to run your cronjob every 30 seconds. You just need to create one cronjob, and you'll get:
Start 14-day free trial, no credit card required.
Need help? Reach out to support@fastcron.com - we're happy to help.
See why 8,000+ website developers and their teams use FastCron to run their cronjobs 12 million times a day.
The reliable online cronjob service for your websites since 2009.