Question

I'm in the process of writing a scheduling application on a shared hosting server. So far it doesn't look like my scheduling will have to be any more granular than daily, but that could change later. Ideally, I'll want to use a Windows host so I write my application in .NET but I'm open to using a PHP+*nix host.

In a shared hosting environment (read: cheap) how can I write an application where notifications can occur on a scheduled basis?

Was it helpful?

Solution

On a *nix system, you're going to want to use cron. An example of its use, starting a process every day at 3:20 AM:

echo "20 3 * * * /path/to/run-my-job.sh" | crontab

edit: To answer the question asked in a comment on another response, it depends on the shared host; many of them allow you to run cron jobs.

OTHER TIPS

Are you wanting something like a cron job?

Steve

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top