Jump to content

Calling Php File Daily


houssam_ballout

Recommended Posts

Hello,I had this issue:I had users which had trial users 10 days, so after 10 days passed, I don't want the user to login. So I was thinking of doing a php file which will query for the expired users, send them an email & disable access to login.my question is: Am I thinking right? If yes, how can I enable running of php files daily. If no, then how should I go for this?Thanks in advance

Link to comment
Share on other sites

You can use cron (Unix) or Scheduled Tasks (Windows) to make a PHP script run daily (by invoking the php executable with your script as an argument).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...