Page 1 of 1

Cron

Posted: Thu Sep 29, 2005 6:43 pm
by anthony88guy
My hosting does not having the option to run a cron job run more than once in 24hr in the cron settings. How would i create a custom cron script without using shell? Is that possible? I don’t know much about this, tried googling it and are somewhat confused.

Thanks for your help.

Posted: Thu Sep 29, 2005 7:06 pm
by feyd
if your host allows it, you may be able to write a script that uses sleep and basically ticks down the time until it's launched again by cron.. but your host would have to allow long running scripts..

Posted: Thu Sep 29, 2005 7:07 pm
by neophyte
The number of jobs per day x 24 = total number of cron jobs? 8O ;)

I think the only way to set a cron job is crontab -e. But you can also you webmin, cpanel or other gui apps to set cron jobs. But as far as I know they still have to be in the cron file.

Sorry that probably was not much help.

Posted: Thu Sep 29, 2005 9:36 pm
by anthony88guy
crontab -e
How woud you go about setting up a job using this?

Posted: Fri Sep 30, 2005 1:40 pm
by Skara
You have to have shell access.