setting up a cron job with phpmyadmin

Associate
Joined
2 Aug 2005
Posts
680
setting up a cron job (help)

I'm running phpmyadmin to manage my MySQL database and I was wondering how I can add a cron job to the database? Any advice appreciated :)

Thanks,
 
Last edited:
MySQL and cron jobs are separate; you can't setup a cronjob through phpmyadmin.

Write the script you'd like executing in, say, PHP, and setup a cronjob through cPanel to fetch (ie, execute) the script every X minutes/hours/etc. You can call the script just like through a web browser. Most servers should have the lynx browser available, so the command would be something like:

lynx -dump http://www.yourdomain/thescript.php
 
Oh I see :p had a strange idea that they were the same thing.

The only trouble is my host doesn't use cpanel, or any other common interface, they seem to have their own custom built one. Ive sent them an email asking how I can add it. Do you know if there is any other way to add it? Via telnet etc?

Cheers mate
 
Back
Top Bottom