Questions & Answers

Setup cron job to delete demo accounts on demo website

i want to know how to setup cron jobs on my demo website to specifically delete user accounts every 30 minutes.Im using Namecheap hosting. This website will be strictly for demo purposes so that clients can get a feel of the software before they decide to buy.or is there another way? Help

I dont know scrip for cron job to delete accounts.Im a noob and please be nice

2023-01-17 18:34:55
It’s not possible to guess what you might mean. Edit the question and provide specific details of the specific problem you’re trying to solve. I.e. your code.
2023-01-17 18:34:55
Why are we doing your research for you. A simple search gets you to some namecheap help Sont know why we had to do that for you
2023-01-17 18:34:55
"is there another way" Build a created_timestamp field into the user record, and then verify that it's less than 30 minutes ago when they login. No cron scripts needed.
2023-01-17 18:34:55
Answers(0) :