Crontab is a useful feature of Linux and BSD servers. It essentially is a task scheduler and executor. You set up any number of processes to be run in crontab, and at the appointed time, the computer will run those commands (which saves you the trouble of having to remember, let alone do, all those routime tasks which are so vital to server administration).

So here we go.


To edit your crontab, you normally just go to your command line and run:
    crontab -e

You will then be inside of your crontab file, care of the VI editor (the system uses the default text editor and most of the time that's VI).

Of course if you're anything like me, you prefer PICO to VI, because VI is for hardcore geeks who practically speak machine language to each other at barbeques and other social settings, and PICO is basically a text editor for those of us who know just enough to be dangerous with our rudimentary understandings.

To that end, you may find it preferable to edit your crontab in PICO. Here's how you do that:

# TO EDIT CRONTAB VIA PICO:
go to your command prompt and run::
    export VISUAL='pico'
Note: this command sets your text editor to be pico for the next file you edit via your command line.

and then run:
    crontab -e
Note: Now you're editing your crontab via PICO.

# # # # # #  ENJOY!  # # # # # #

more digital solutions found at:
xdose.com
ContentAndAds.com
qmailrocks.org
FreeBSDRocks.net
GoodCleanEmail.com
TheSwamp.info
FileCorner.com

Last Updated (Sunday, 22 June 2008 00:19)