Cron

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

Cron

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post 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.
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

Post by anthony88guy »

crontab -e
How woud you go about setting up a job using this?
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

You have to have shell access.
Post Reply