crontab 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 will open a editor, add job here like
00 1 * * * /monitor_file_system 2>/dev/null

Set cronjob from other server:
# crontab -e
0 0 * * * curl http://www.domain.com/phpsolutions.php

here phpsolutions.php file is located on different server…

and save this crontab files…. now cronjob successfully installed 🙂

3 Responses to Crontab Command Line

  1. Anonymous says:

    Hi I stumbled upon this site in error when i was searching yahoo just for this issue, I can say your site is really helpful I also love the theme, its amazing!. I dont have that much time and energy to read your complete post at the moment but I have bookmarked it and as well signed up for your RSS feeds. I’ll be last a day or two. many thanks for an excellent site.

  2. Anonymous says:

    Wow, that’s a very nice read!

  3. Anonymous says:

    Thank you for sharing superb informations. Your websiteis so cool.I am stunned at information that you’ve for this blog. It reveals how nicely someone perceives this subject. Bookmarked this web site, will happen backfor extra articles. You, my pal, ROCK! I found simply the info I already searched everywhere we look and just couldn?t encounter. That of a ideal website. I like this web website and your website is undoubtedly one of my new favorite ones.I like this amazing site given and it has given me some sort of dedication to have success for some purpose, so thanks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.