Language Selection

English French German Italian Portuguese Spanish

Two Open Source Software Alternatives to Cron

Filed under
Software

A few weeks ago, we looked at using Corntab to make it easier to create entries for cron. What if you want to avoid cron altogether? You can, thanks to several cron alternatives.

Hcron

One alternative is hcron, a GPLv2 alternative to cron. Written by John Marshall, hcron has several advantages over cron. First, hcron's event definitions are much easier to read and are more expressive.

But hcron also addresses a few problems cron didn't anticipate, leaving aside its arcane syntax. When you run a cron job, you must kludge together something in the job itself or in the command you pass to cron to send an email when a job is completed. The hcron utility is expressly designed to allow for an email when the job is run.

The real kicker is remote execution. When cron was conceived, the computing environment was much less complicated -- and less networked. Today, it's hard to imagine any professional IT worker not having to manage remote machines.

rest here




More in Tux Machines

KDevelop 5.0.0 release

Almost two years after the release of KDevelop 4.7, we are happy to announce the immediate availability of KDevelop 5.0. KDevelop is an integrated development environment focusing on support of the C++, Python, PHP and JavaScript/QML programming languages. Many important changes and refactorings were done for version 5.0, ensuring that KDevelop remains maintainable and easy to extend and improve over the next years. Highlights include much improved new C/C++ language support, as well as polishing for Python, PHP and QML/JS. Read more

CoreOS 1068.10.0 Released with Many systemd Fixes, Still Using Linux Kernel 4.6

Today, August 23, 2016, the development team behind the CoreOS security-oriented GNU/Linux operating system have released the CoreOS 1068.10.0 stable update, along with new ISO images for all supported platforms. Read more

SUSE Linux and openSUSE Leap to Offer Better Support for ARM Systems Using EFI

The YaST development team at openSUSE and SUSE is reporting on the latest improvements that should be available in the upcoming openSUSE Leap 42.2 and SUSE Linux Enterprise 12 Service Pack 2 operating systems. Read more

Create modular server-side Java apps direct from mvn modules with diet4j instead of an app server

In the latest release, the diet4j module framework for Java has learned to run modular Java apps using the Apache jsvc daemon (best known from running Tomcat on many Linux distros). If org.example.mydaemon is your top Maven project, all you do is specify it as the root module for your jsvc invocation, and diet4j figures out the dependencies when jsvc starts. An example systemd.service file is available.