Previous Thread
Next Thread
Print Thread
Rate Thread
#262367 11/08/2003 8:35 PM
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
A cron program you can add programs to run once a day from the admin link. Could be expanded to do cron tasks more times during the day provided you had the visitor to trigger it. Would be nice for use on iip programs that need a cron to keep them updated.

Sponsored Links
Kelly #262368 11/16/2003 7:37 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Couple points on this that I can think of.

Nice Idea and it would make life easier but the following problems I see.

1. Cron task is a server task and highly varies in design by each server depending on how they handle it even though the basic format is the same. Some do not even support it for customers. I doubt highly that anyone would be able to write a hack that would work effectively for that specific point. Someone could surely write a nice fancy interface like Cpanel has stick it in the admin area. However we are back to the issues of cron differences on servers. Maybe a variable section to define where the cron file is located would do it

Couple problems though. What about the people with no access to cron? What about the people who's hosts provide no cron?

2. Now this idea has nothing to do with the cron feature on a server. Basically one could write an applet that would act just like a cron and store it locally with threads to automate tasks. Nice easy way to do it probally the easiest but I am not sure about server resources on this one It would need to be able to check and calculate the time OFTEN to be able to effectively do its duty so their is bound to be strain on the server doing it this way.

sf49rminer #262369 11/19/2003 5:21 AM
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
I was thinking it could save a daily setting for the site in the database. (depending on how often you wanted to send cron) Then once its updated for the period it wouldn't run again. Then you could add the various files you wanted it to run in a box

http://... sendpm.php
http:// ... sendemail.php
http:// ... updatenews.php
etc or what every you want run.

some sort of thing like that. It could be triggered by one visitor or spider to your site a day/time period.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)