Can I run shell/bash script?

FastCron needs your web server to execute the script, it couldn't run a shell script directly.

If you're using PHP, please check if your hosting allows exec or shell_exec, then create a cron script to run the bash script like this:

// /home/example.com/public_html/cron.php
echo shell_exec('/home/example.com/shell/backup.sh');

Once you confirm that the script can be triggered by visiting the URL
https://example.com/cron.php
with your browser, you can create a cron job to run script.

Most shared hosting providers disable those functions, so you won't be able to run shell/bash script with FastCron.


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