DemonWolfe
01-28-2001, 12:55 AM
Does anyone have access to (or know enough to write one for me) a VERY simple little script that can do the following:
Using a crontab, update my page each night at midnight.
Thats it... pretty simple eh?
I was thinking it could simply read a preset file structure such as (1-1.html 1-2.html 1-3.html etc) and do a date read, grab the correct .html (based on date read) and then move (copy, rename) that file to the main page file, in this case ttgp.html.
This would allow me to make pages days in advance, and not having to worry about it updating itself each night at midnight. http://bbs.adultwebmasterinfo.com/ubb/smile.gif
This should be a simple script shouldn't it?
Thanks for any help,
John
DemonWolfe
http://www.demonwolfe.com/site/tgp.html
Using a crontab, update my page each night at midnight.
Thats it... pretty simple eh?
I was thinking it could simply read a preset file structure such as (1-1.html 1-2.html 1-3.html etc) and do a date read, grab the correct .html (based on date read) and then move (copy, rename) that file to the main page file, in this case ttgp.html.
This would allow me to make pages days in advance, and not having to worry about it updating itself each night at midnight. http://bbs.adultwebmasterinfo.com/ubb/smile.gif
This should be a simple script shouldn't it?
Thanks for any help,
John
DemonWolfe
http://www.demonwolfe.com/site/tgp.html