Auto reset data at 00:00

Started on the old forum in April 2012 · view the original in the archive · old links redirect here

2 replies · 517 views · started 14 years ago · 1 min read

3 participants
stratosphere Junior · 42 posts #1

good day coders. Anyone can help me how to reset site data automatically at 00:00? Im using lavalair thank you.

Mysterio Lead · 630 posts #2

Make a script which resets all your fields as you want them, and run it once per day via CronJob.

mysterio.al - programming is a functional art

Vayne Developer · 106 posts #3

if your MySQL version is 5.1.6 (or higher, ofc), learn about MySQL events. Simple as fcuk.

Nous Ne Dansos Pas, Nous Sommes Le Danse.!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close