Previous Thread
Next Thread
Print Thread
Rate Thread
#208651 02/25/2001 7:50 AM
Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374

HI

I had an idea of faking a cron job (which is nothing more than an automatic call at a given time my scripts?), as I don't have access to my ISPs cron jobs.

Hi everyone,

I want to 'hack' the wwwthreads.php and the categories.php with some lines of code that do the following:

Check when doexpire.pl has been run the last time.
* If the current time is after 2 AM and it has not been running on the current date yet:
* Run do expire.php
* Remember the time it was run.

So an user action starts the cronjobs instead an automatic serverside program.

The consequence is that
1. no action if no user that day (which is fine)
2. summaries by email not on a regular time but just somtimes a day (which is better than nothing :)
3. The poor user that starts the whole thing, has maybe some delays because the system has other things to do... (which is tolerable, I think)

I just started with PHP one week ago, wen I bought the WWWTHREADS licence I also bought one of those books.
So I am still a bloody amateur, is anybody of you pro's interested to help me developing this ad-on,
so for future releases a user can set up in config.main.php, whether he wants the 'real' ot the 'fake' cron jobs to run?

I am very curious what you all think about that idea...








Carl
darkwebforum

Sponsored Links
Entire Thread
Subject Posted By Posted
CRON JOB 'faking' HACK caymuc 02/25/2001 2:50 PM
Re: CRON JOB 'faking' HACK kimroan 02/25/2001 8:15 PM
Re: CRON JOB 'faking' HACK Magicia 03/14/2001 11:01 AM
Re: CRON JOB 'faking' HACK caymuc 03/14/2001 12:06 PM
Re: CRON JOB 'faking' HACK josetann 03/20/2001 3:09 AM
Re: CRON JOB 'faking' HACK caymuc 03/27/2001 1:07 AM
Re: CRON JOB 'faking' HACK caymuc 03/27/2001 1:08 AM

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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
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,835
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)