I am working on a project that can’t be tested locally. So, I need to upload files to server. However, committing and then uploading is rigorous job (as there are lots of files to upload as a directory while changes were made only a few files under different directory. so browsing directory and uploading specific file(s) also annoying.) ! That’s why I used ‘svn up’ command to update all changed files from svn repository.
WordPress provides some nice APIs for executing unattended scheduled tasks without relying on any external cron! Usually, we need to create a cron from our control panel / systems! However, if you implement built in cron features of WordPress, you gain better portability of your WordPress site!
However, it has a great limitation! This cron fully relies on site hits! WordPress triggers its cron functions after someone visits the site! When anyone visits your site, WP checks if any cron are supposed to be executed on or earlier of that moment! If no one visits your site, WordPress will fail to execute your tasks!
In this blog, I am going to show two tips that may be helpful while you work with wp-cron functions!
I have used OpenLD Directory Script for Projanmo Web site. OpenLD is really simple and cool script. But it was wonderful extension system for injecting your own code using the hook.
But the worse news is that the homepage is down for a quite long time. So we don’t get any update of this script anymore. I have seen many people were looking for it.
Today Arafat Rahman was asking me if I have any backup of this script. I searched my computer ending without positive result. Later entering my website’s account I have found a backup. So I planned to post it so that interested people can download it.