Does FastCron follow redirection?

Yes, FastCron follows HTTP redirection (with HTTP status code 301, 302, 307, or 308).

This feature helps in these cases:

  • You changed the script URL with redirection.
  • The cron script needs to split into several steps (e.g. Akeeba backup).

If you're using PHP, you should use header and exit to redirect your script:

// don't print/echo any output before this

header('Location: /new/url.php?next=200');
exit;

FastCron will not parse HTML or run JavaScript, so these won't work:

<meta http-equiv="refresh" content="0;url=/new/url.html">
<script>
    window.location = '/new/url.html';
</script>

Need help? Reach out to [email protected] - 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 · Status