What's the best way to use a cron jobs?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
montyauto
Forum Commoner
Posts: 25
Joined: Sat Jan 13, 2007 7:05 am

What's the best way to use a cron jobs?

Post by montyauto »

Wonder if any of you are using cron jobs.

What's the best way to use a cron jobs?

- search engine submission?
- post to multiple websites?
- vote banners?
- search online free staffs?

Its really appreciate if you would share info if there any script you use.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Umm... Those don't seem like usages I've ever heard of. I've heard of using it for newsletters, email notifications, database back-ups... That sort of thing.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

"CRON" is an acronym that stands for "Command Run ON". (which should make clear for what it comes in handy)
User avatar
ReverendDexter
Forum Contributor
Posts: 193
Joined: Tue May 29, 2007 1:26 pm
Location: Chico, CA

Post by ReverendDexter »

timvw wrote:"CRON" is an acronym that stands for "Command Run ON". (which should make clear for what it comes in handy)
Really? I thought it had to do with the prefix cron-, as in time (i.e. Cronus, cronometer, etc.). Or is that spelled "chron-"?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

My main use of cron jobs is to save database queries. I often make the cronjob script query for data and write to small .html files that I include on .php pages.

Alot of the time, queries don't need to be sent on every page load for data that changes hourly or daily.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Wikipedia seems to agree with me... http://en.wikipedia.org/wiki/Cron
Post Reply