this will automate all your cronjobs without having to login to terminal or your cpanel plesk etc every time you want to add remove a cronjob
it is very simple to use and all you have to do is set one cronjob to manage thousands either from you're cpanel or terminal
ok lets get started

open up admincp.php and add a link
 <td align="center"><a href="admincp?action=cron&do=run"><img src="images/admin/autocron.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("AUTO_CRON"); ?></a><br /></td>


still in admincp.php before the last ?> add

////RUN CRON FROM ADMINCP////
 if ($action=="cron" && $do=="run") {
 stdhead("Auto Cron");
 navmenu();
 echo '<div style="height:800px;overflow:hidden;">';
 echo '<iframe src="/cron" width="100%" height="100%" scrolling="no" style="overflow:hidden; margin-top:-4px; margin-left:-4px; border:none;"></iframe>';
 echo '</div>';
 }
//////END/////////////////////////



pop image in to images/admin
upload cron folder into main web folder (the whole folder)

Change the rights to cronjobs.dat.php and cronjobs.log chmod to 766
Give the directory logs read and write access = chmod 777

first off navigate to you're admincp click on autocron and go to settings fill out required fileds
then go to your terminal via ssh as root or sudoer type crontab -e and add this line to it

*/1 * * * *  /usr/bin/php -q -f "path to main website dir  ie" /var/www/public_html/cron/cronjob.php password="the password you set in the Autocron settings"
autocron.png
autocron.png
cron.zip
Download