Jump to content

Execute a PHP script every day on a specific time


Dodra

Recommended Posts

Greetings everyone!


I want to know how (if possible) I can make a PHP script execute itself once daily.

 

It should send a text message. And while I am on the subject. How do i send a Text message to Belgian numbers?
I have yet to find a workable tutorial for that.

 

 

Thanks in advance for the replies.

Link to comment
Share on other sites

Unix/Linux servers use cron, Windows servers have Scheduled Tasks.

How do i send a Text message to Belgian numbers?

What's special about Belgian numbers?  If supported, one way is to send an email to the phone number at the carrier's email/SMS gateway if you know which carrier they use and the carrier makes their gateway public.  The actual way is to use an SMS server to send a text message, you can probably find one online that you can register for to send messages through it.

Link to comment
Share on other sites

It must be a file on the internet that preforms the task.

I tried to send a text message to myself, but did not receive it.
I tried: MYNUMER@base.be but did not receive any message.

Is there a tutorial that shows how to create a script like this?

 

 

Thanks in advance!

Link to comment
Share on other sites

I'm sure there are plenty of SMS tutorials for PHP.  If it doesn't work to just send an email to your provider then they might not offer that service.  Mine uses a different domain.  For example, I'm on T-Mobile, but to send a text it's not my number @tmobile.com, it's my number @tmomail.com I think, I don't remember which domain they use for that.  You would need to look it up though and figure out what they offer.  

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...