Jump to content
houssam_ballout

Calling Php File Daily

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

Share this post


Link to post
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).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...