How to run cron job every 30 seconds

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.

Tired of your subpar Cron Jobs?

FastCron is the best place to run your cronjob every 30 seconds. You just need to create one cronjob, and you'll get:

  • Full cron logs including starting time, total time, script output, etc.
  • Email notifications when your cronjob fails or backs up again.
  • A nice simple interface for you and your team.
  • and many more features.

Start 14-day free trial, no credit card required.


Need help? Reach out to support@fastcron.com - we're happy to help.

Ready for better cronjobs?

See why 8,000+ website developers and their teams use FastCron to run their cronjobs 12 million times a day.

Start 14-day free trial

FastCron

The reliable online cronjob service for your websites since 2009.


© 2009 - 2026 FastCron · All rights reserved · Terms of service · Privacy policy · Website monitored by Cahook · Status