So a cron job can run a PHP page too? I didn't know that. *blinks*
So (taking into account I need this cronjob for a website not utilizing DirectAdmon), all I'd need to do is add the .php file I want to use as a job to the crontab file? Or, actually considering that the crontab already lists folders for daily, weekly, and monthly stuff, I'd just add the file into one of those and be done with it?
No, you can't simply run a .php file. You need to parse it, of course. In Windows, you may use the php executable, but in Unix environment (where php is only a module) you may have to use a browser to parse it. Or, for better performance, use mysqladmin. You should have it installed.
Uh...no, I don't have "mysqladmin". I have phpMyAdmin, but no mysqladmin. *scratches head in confusion*
Is there any way to parse a PHP file at a certain time without me having to do anything? And if it has to be done with this "mysqladmin" thing, where would I get it?
I think it is installed with MySQL. At least this was the case on my system (Debian). Do you get an error message if you type mysqladmin in a console window?
...Moment of stupidity on my part. I forgot I was doing this cron job without the use of the Direct Admin thing on my Frihost account, so I looked there instead. O_o
I'll go see if I have that in a while.
OK, I have mysqladmin. What can I do with it that'll help with my cron job problem?
Actually, I tried that. I think it's likely an error on my end, because it didn't send me any errors, but when it runs, it doesn't do what it's supposed to (and that's move any entries with "date" older than a day to another table)...
I think Perl will just be more the way I like it, actually.