July 14, 201016 yr Hi all, Just a quick question: Can cron jobs loop through my database and pick out users to remind them they're subscription is up in a month? I'll have to run this script everyday as if someone set up an account on the 22nd and then someone set up an account on the 23rd etc.. In short can a cron job query databases? Thanks in advance, Wayne.
July 14, 201016 yr Yes, a cron job is simply a way to run a command at a specific time. if you're running a script, it will run just like any other script and is allowed to do what any other script can
July 14, 201016 yr Author Excellent so I just write my usual php databse querys as usual then with the parameters on when i want the script to run? Wayne.
Create an account or sign in to comment