Creating A Cron Job
You have heard the term but have no idea what it is? CRON JOB. Sounds scary and hard to do. Well it is a simple task once you know how to do it. All you have to do is know the steps and where to get the information. This video is dedicated to showing you how to create a cron job for Web Traffic Genius and Makr's (midox) future posts plugin.
Also it shows you just how easy it is to set up a CRON JOB
So just press play and enjoy the video.
Tagged with: ?p=397 • creating cron job • cron job
Filed under: Mage Master
Like this post? Subscribe to my RSS feed and get loads more!







Hi Mike,
Great video and thank you for all your efforts. I have done both cron jobs and can see from the log that WTG is working, but is there a way I can check that the futureposts.php is actually unpacking posts?
Have a good weekend
Chris
You have to manually look at them
awesome Mike.
In your install the WTG video you mention going back to discuss the “post existing” on the options page. I watched the video twice and I don’t think it is there. What is your advice on hitting the button?
Your videos are amazing.
Sorry Greg for that I did not know I misse that. The post existing post button can be used to set up a schedule for old posts to be sent out in the RSS feed. Use it after backdaqted posts have been unpacked by the search engines or vistors clickon them. I check eqch site once a week to see if there are any that haqve been unpacked and not sent out. Just click on the poswt existing buton and that is it.
Mike
Hi Mike,
fellow master mage here. again, great site. great videos. I do have a question, just completed the video for creating a cron job. don’t have the futureposts.php file you speak about. where did that come from?
was it supposed to come with the software, was it an additional download that i missed?
thank you for all your advice.
Greg, You did not miss anything. The futureposts.php is a plugin created by Mark Kaz (midox). YOu can get the info and plugin here. It is a free plugin. http://webloader.com/579/futuredated-scheduled-posts-content-preview/
Hi Mike,
I really thought I could do this with your help however unlike your blank page when editing wp-cron.php mine has a lot of code (below) do I get rid of this and paste in mine or leave well alone.
Thanks in advance.
John Riley
$local_time )
die();
foreach ($crons as $timestamp => $cronhooks) {
if ( $timestamp > $local_time )
break;
foreach ($cronhooks as $hook => $keys) {
foreach ($keys as $k => $v) {
$schedule = $v['schedule'];
if ($schedule != false) {
$new_args = array($timestamp, $schedule, $hook, $v['args']);
call_user_func_array(‘wp_reschedule_event’, $new_args);
}
wp_unschedule_event($timestamp, $hook, $v['args']);
do_action_ref_array($hook, $v['args']);
}
}
}
die();
No that is the wrong file. The file for WTG needs to manually created and then the code put in. Go to the cpanel for you main domain, go to the file manager, go to the base directory of the site you have WTG on and in the top left of the file manager there is a icon to add a file. click on it and add the file cron.php. once you have done that rigjt click on the new cron.php file and then click on edit. This will take you to the editor. Put the code in this new file and click save.
That is it. Hope this helps.
Mike
@Mager:
Hi Mike,
I knew I’d stuffed up somewhere, I’ll give it another go on Monday, you’ve created a very helpful site, thanks.
Enjoy your weekend
Regards
John Riley
John,
You too. If you have any questions PM me.
Hi Mike,
Thanks for the video you put up on installing WTG, really helped me understand what it does, I still have more questions though, please correct me if i am wrong,
I was under the impression that the WTG software will only send out posts that are active i.e unpacked post, If i put up a new mage site with backdated post I know the backdated post will not be unpacked yet and only a few post would have been published, is there a way to unpack some of the posts say 50 to 100 for the WTG to use for sending out the rss for backdated posts, some kind of automated unpacking so that anytime the cron job goes out to get backdated post it will always find something to send out to the rss aggregators and not get posts that have not yet been unpacked.
This would actually make it a set and forget system i guess.
Well I would appreciate your response.
Thanks again
Sykes
Hello Mike,
Following my previous question, how do you unpack backdated posts before using WTG and cron jobs, is it possible to unpack all your backdated post or does the cron job do that? If there is a way to unpack backdated posts can you do a video about it ?
Thanks
I sent you an email to try an explain why it is not a great idea to unpack backdated posts in bulk.
Hello Mike,
You have a really great blog here, I still don’t understant the whole set up of the cron job and using it with WTG software, I would like to buy the software but need to understand it before doing so, like where to download the cron job.php and how to install it. If a video can be made about this, it will be much appreciated. I see that you have a video on creating a cron job in here but the video on how to intall the croj and where to find it would be great.
Also is the cron job software free?
Looking forward to your response.
Thanks
Thanks for stopping by. The cron.php file is a file you create and the video the Tim (the creator of the software) has videos on the install process. PM me and I can give you more info on it.
Mike…
This CRON Program is the bomb! Very Automated! I understand all the mechanics of the installations of everything, but don’t understand the entire process of the targeted outcome (goal of the setup as far as the RSS drip feeds to get backlinks). As I said in the previous comment for the WTG, I guess I just don’t understand what it is and what it can do for me…
It would be great to see a step by step video on how it all works from concept of RSS, all the way thru to the cron job.
Any advise on where to obtain all this info?
Thanks again!
Mark
Mark, Let me try to explain it. Lets say you have a bunch of backdated posts the have been viewed and are full of content. Now we want to get links back to these posts to increase their rankings. With WTG options you can click on the post existing button and the posts will be scheduled to have their feeds set to the aggregators as soon as the CRON Job Runs. The Cron is set up to send out no more than 15 feeds to the aggregators. So if you have 50 posts that are scheduled to go out the CRON Job will send out max of 15 then the next time it is run it will send out the max of 15 again until all are sent out.
Hope this helps
Mike
Most likely I will get the WTG from you of course. Would you let me know where can I see the Tim’s video, is it part of the software pkg?
Thank You. Tim has a video on the product page and also you can get his video series on Using RSS feeds by signing up on that page (the series is free). All the installation videos come with the software. Plus I have some here. Let me know what you need. You can access the product page by Clicking the banner above.
Mike,
Thanks for the once again easy tutorial on the crons. You make it so simple to follow, as I’m not yet very knowledgable with all the functions of new plugins, and blogs. I’ll get the WTG through your link.
Thanks again,
Mike
Mike,
Thanks for your support. I enjoy doing the videos and try to make them easy to understand. Let me know what I can do to make it better.