Category: PHP

This quick guide will demonstrate how to create a simple PHP script to automate weekly SMS send-outs. Every Saturday at 8 am an SMS is automatically sent to all gym members with a link to a schedule of the coming week’s class schedule. This PHP file sends a preset message to a defined list of recipients.

It is good to have an overview of cron before we dive into our example.

In the above example, the cron job is set to send every 10 minutes — or more specifically, every 10th minute of every hour of every day of every month, every day of the week.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners