How to run cronjobs per second?

On August 21, 2010, in CentOS, Fedora, LAMP, Linux, Tricks, by Sandeep Verma

Hits: 728  Have you checked my previous article on cronjobs… http://blog.svnlabs.com/tag/crontab-command-line/ To run cronjob per second you have to execute crontab/cronjob per minute and then have to run task in cron file per second using PHP function time_sleep_until(). <?php $start = microtime(true); for($ii=0;$ii<60;$ii++) { //………………………. /// here is the tasks which need to run per second… [...]

Tagged with:  

Crontab Command Line

On January 23, 2010, in Amazon Cloud EC2 S3, CentOS, Fedora, LAMP, Linux, Tips, Tricks, Wap Application, Web Application, Web Services, by Sandeep Verma

Hits: 135   Crontab Command Line 1. dump the content of the existing crontab to a file # crontab > /tmp/dump 2. echo “your lines” >> to the corntab file # echo ” 00 1 * * * /monitor_file_system 2>/dev/null” >> /tmp/dump 3. import the new crontab # crontab /tmp/dump other option…. # crontab -e It [...]

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...