Naourass Derouichi
Naourass Derouichi

Reputation: 793

Run script automatically

I have a PHP code that send e-mails and I have a html page that contains a button to run the PHP script with post method. Is there a way to run this script without recourse to the html page every time i want to send the e-mails?

Upvotes: 0

Views: 67

Answers (2)

Neil Girardi
Neil Girardi

Reputation: 4943

If you're on Linux you can use cron.

Upvotes: 1

Restie
Restie

Reputation: 53

why don't you just call the php file or php function ?

Upvotes: 1

Related Questions