HI
my host doen't support cron job (I can't see any thing that related to cron function in my control panel of my host.
I want to execute a page daily and the server automatically run the page daily.What shloul i do?How can I do that?
My host is byethost
Thanks

Dani AI

Generated

When a shared host does not expose cron jobs (common on free accounts), a few reliable workarounds are available. reported no cron controls in the panel, suggested checking with support, and noted that ByetHost often reserves cron for paid plans. pointed toward online cron services. The main choices are: use an external HTTP scheduler, use a CI/CD scheduler, upgrade hosting, or run a local scheduled task — each has tradeoffs in reliability and security.

External HTTP schedulers are the quickest fix. Services such as Cron-Job.org and EasyCron can call a URL on a schedule; basic daily jobs are usually supported for free. When exposing a maintenance script, add authentication, idempotency and a lock so repeated runs do not overlap. A minimal PHP token guard:

if (!isset($_GET['token']) || $_GET['token'] !== 'REPLACE_WITH_SECRET') {
  http_response_code(403);
  exit('Forbidden');
}

Prefer checking a custom header or POST body over query tokens, and always use HTTPS. Log start/finish and send an alert on failures.

CI/CD systems also support scheduled triggers. GitHub Actions provides a scheduled event that can POST to a site; see the official docs for details. For higher reliability or longer jobs, a small VPS or a serverless timer (EventBridge + Lambda) gives full control and fewer external dependencies.

Recommended steps: confirm the host policy with support; for a quick solution try an external scheduler with a secret and simple locking; add logging and failure alerts; move to a paid hosting tier or VPS if the job needs stronger SLAs or internal access to the server.

Recommended Answers

All 3 Replies

You're control panel should have Cron Tabs. Most hosts have them I think, why not send them a support mail?

You might also try looking up online cron services: http://www.google.com/search?q=Free+Cron+Jobs. I know which one I'd pick. ;)

commented: Fantastic - never knew these existed. Thanks +4
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.