문제

I have a table on mysql that is being automatically updated. How can I define an automatic script that will:

"DELETE FROM tbl"

every week or so?

도움이 되었습니까?

해결책

You can use CRON jobs. You can write the delete statement in a separate php file and tell the server to run that php file every week.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top