Skip to main content

Visual Crontab Editor

Have you ever wanted to schedule a process to be donexecuted in certain time? If you do, then i guess you should ever heard of crontab as well. It's a daemon that checks periodically to crontab defined by the users if there's a job to be done. It checks every minute, because the smallest unit is minute.

Configuring crontab is very straightforward and easy, but not for everyone who's not used to with the format being used. Just let me give you what crontab format look like
0 * * * * /bin/bash /home/willysr/rsync_current.sh

This is an example of one of my cron job defined on my crontab. What does it do? Well, basically it will try to launch the rsync_current.sh script every day, every hour on minute 0, like 1:00, 2:00, 3:00, etc. Do you get the point? It's very straightforward.

The common format of crontab is (separated by space/tab):
minute hour day-of-month month day-of-week command-to-execute

Here's the allowed value for each field:
minute : 0-59
hour : 0-23
day of month : 1-31
month : 1-12 (or names)
day of week : 0-7 (0 or 7 is Sun)
A field may be an asterisk (*), which always stands for ''first-last''.

If you are too lazy to think about the command above, you can use a visual crontab editor from Corntab. It uses a JQuery to create a simple and easy to use interface for you to define your own crontab format. Pick on the pre-defined values or click on the date/minutes/hour/days available and the proper crontab format will be displayed in top of the page.

When you are ready to put them into your crontab, just launch a terminal and execute crontab -e and put all your crontab definition on that file and save it. It will be executed when the time defined in your crontab has come.

You can also send the crontab to someone else. Just put the email address and send it. Jobs done and everyone is happy. Now you shouldn't be afraid with crontab anymore, am i right? winking

Popular posts from this blog

Running Rsync Via Proxy

One way to get the latest Slackware updates is by running rsync to syncronize your local repository and the main repository that hold the Slackware packages. Eric Hameleers has provided a great script called rsync_current.sh and how i modified this tool has been discussed on my previous post. In general, it works, except for one problem, when your computer is connecting to the Internet through a proxy.

My workstation at my office is connected to the Internet through a proxy, so i can't use normal rsync to work normally. I browsed the web and i found this site which tells us about how we should modify our squid configuration to allow rsync connection from any computer from our local networks. I asked my sysadmin to try this script. He agreed and he updated the squid configuration on the proxy.

Next, i need to update my environment variable RSYNC_PROXY to the host of the proxy and also the port. Let's say you are running a proxy on 192.168.1.1 and port 8080, then you need to run …

NVidia Legacy Unix Driver Update

NVidia has released an updated legacy drivers to support X.Org 1.19 with ABI 23. It has been mentioned in the UNIX drivers, but you can directly find the drivers from the links below:
NVidia 304.134 (x86x86_64)NVidia 340.101 (x86, x86_64) I have tested the 304.134 driver and it's working great here. I can finally remove x from my /etc/slackpkg/blacklist file since it's a showstopper for me.
Aside from legacy driver, NVidia has also released their latest driver 375.26 (x86, x86_64), which brings support for newer cards and also many new features (including X.Org 1.19 with ABI 23 support). 

Security Update: firefox, irssi, pidgin

Three security updates were released for today:
firefox: Upgraded to 45.4.0esr for 14.1 and 14.2 and 49.0 for currentirssi: Upgraded to 0.8.20pidgin: Upgraded to 2.10.11, 2.10.12, and 2.11.0 for all stable Slackware releases depending on their support Some minor update in current:
mkinitrd: Add dmsetup supportemacs: Upgraded to 25.1qt: Fix multilib issue network-scripts: Fix minor issue