Gossamer Forum
Home : Products : DBMan : Customization :

Re: [thebuckskinappy] Auto adding one every Saturday at 12 am?

Quote Reply
Re: [thebuckskinappy] Auto adding one every Saturday at 12 am? In reply to
you will need to run cron on your host server

maybe someone more familiar with cron can help.

Code:

Minutes Hours Day of Month Month Day of Week

0-59 0-23 1-31 1-12 0-6



I've never done it but looks like this would work.
0 0 * * 6 /path_to/changeage.cgi

I've attached a file that came from the monthcool mod in Links 2 - it was used to reset the monthly hits field to zero. I did a little testing and it seems to work as intended. you will need to set the paths and the field number of the age field.

Put it in a protected folder.

You will want to run this first on a backup copy.

Then make a backup copy of the database before actually running it the first time.


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Subject Author Views Date
Thread Auto adding one every Saturday at 12 am? thebuckskinappy 2484 Apr 25, 2003, 1:09 PM
Thread Re: [thebuckskinappy] Auto adding one every Saturday at 12 am?
esm 2416 Apr 25, 2003, 5:12 PM
Thread Re: [esm] Auto adding one every Saturday at 12 am?
thebuckskinappy 2425 Apr 25, 2003, 8:29 PM
Thread Re: [thebuckskinappy] Auto adding one every Saturday at 12 am?
esm 2413 Apr 26, 2003, 3:32 AM
Post Re: [esm] Auto adding one every Saturday at 12 am?
wysardry 2399 Apr 28, 2003, 1:54 AM