ApexApex Training - Crontab JobLet's create our crontab job that will execute once every 24 hours, and randomly
pick a winner using our
This will create a new file at /src/training/cron/pick_winner.php. Open the file, and enter the following contents.
As you will notice within the properties of the above class, we set NextLet's move on to Creating a Notification Controller to handle the e-mail messages that will be sent out. Need a Professional?Need development work by the creator of Apex? E-mail matt.dizak@gmail.com for a free consultation. Recent NewsMailing ListSubscribe to the low traffic mailing list to stay updated on Apex. ![]() |
Apex v1.5.4 Released!
Added .env file, Remote Access Client, finalized PostgreSQL, and more...