<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="https://www.linuxjournal.com/">
  <channel>
    <title>cron</title>
    <link>https://www.linuxjournal.com/</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>Schedule One-Time Commands with the UNIX at Tool</title>
  <link>https://www.linuxjournal.com/content/schedule-one-time-commands-unix-tool</link>
  <description>  &lt;div data-history-node-id="1340203" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/kyle-rankin" lang="" about="https://www.linuxjournal.com/users/kyle-rankin" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Kyle Rankin&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;&lt;em&gt;Cron is nice and all, but don't forget about its cousin &lt;code&gt;at&lt;/code&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;
When I first started using Linux, it was like being tossed into the deep end
of the UNIX pool. You were expected to use the command line heavily along
with all the standard utilities and services that came with your
distribution. At lot has changed since then, and nowadays, you can use a
standard Linux desktop without ever having to open a terminal or use old
UNIX services. Even as a sysadmin, these days, you often are a few layers of
abstraction above some of these core services.
&lt;/p&gt;

&lt;p&gt;
I say all of this to point out that for us old-timers, it's easy to take for
granted that everyone around us innately knows about all the command-line
tools we use. Yet, even though I've been using Linux for 20 years, I
still learn about new (to me) command-line tools all the time. In this "Back
to Basics" article series, I plan to cover some of the command-line tools
that those new to Linux may never have used before. For those of you who are
more advanced, I'll spread out this series, so you can expect future
articles to be more technical. In this article, I describe how to use
the &lt;code&gt;at&lt;/code&gt; utility to schedule jobs to run at a later date.
&lt;/p&gt;

&lt;span class="h3-replacement"&gt;
&lt;code&gt;at&lt;/code&gt; vs. Cron&lt;/span&gt;

&lt;p&gt;
&lt;code&gt;at&lt;/code&gt; is one of those commands that isn't discussed very much. When
people talk about scheduling commands, typically cron gets the most
coverage. Cron allows you to schedule commands to be run on a periodic
basis. With cron, you can run a command as frequently as every minute or as
seldom as once a day, week, month or even year. You also can define more
sophisticated rules, so commands run, for example, every five minutes, every
weekday, every other hour and many other combinations. System administrators sometimes
will use cron to schedule a local script to collect metrics every minute or
to schedule backups.
&lt;/p&gt;

&lt;p&gt;
On the other hand, although the &lt;code&gt;at&lt;/code&gt; command also allows you to schedule
commands, it serves a completely different purpose from cron. While cron
lets you schedule commands to run periodically, &lt;code&gt;at&lt;/code&gt; lets you schedule
commands that run only once at a particular time in the future. This
means that &lt;code&gt;at&lt;/code&gt; fills a different and usually more immediate need
from cron.
&lt;/p&gt;

&lt;span class="h3-replacement"&gt;
Using &lt;code&gt;at&lt;/code&gt;&lt;/span&gt;

&lt;p&gt;
At one point, the &lt;code&gt;at&lt;/code&gt; command came standard on most Linux
distributions, but
these days, even on servers, you may find yourself having to
install the &lt;code&gt;at&lt;/code&gt; package explicitly. Once installed, the easiest
way to use &lt;code&gt;at&lt;/code&gt; is to type
it on the command line followed by the time you want the command to run:

&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/schedule-one-time-commands-unix-tool" hreflang="en"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Mon, 19 Nov 2018 12:30:00 +0000</pubDate>
    <dc:creator>Kyle Rankin</dc:creator>
    <guid isPermaLink="false">1340203 at https://www.linuxjournal.com</guid>
    </item>
<item>
  <title>Video On Demand: 8 Signs You're Beyond Cron</title>
  <link>https://www.linuxjournal.com/content/video-demand-8-signs-youre-beyond-cron</link>
  <description>  &lt;div data-history-node-id="1338696" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/user/800005" lang="" about="https://www.linuxjournal.com/user/800005" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;LJ Staff&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;Our latest free webinar is now available on demand!&lt;/p&gt;
&lt;a class="awesome" href="https://linuxjournal.webex.com/linuxjournal/lsr.php?RCID=59907b5465b9ad65e3790dde053534cf"&gt;View Now!&lt;/a&gt;&lt;br /&gt;&lt;span class="h3-replacement"&gt;Scheduling Crontabs With an Enterprise Scheduler&lt;/span&gt;
 &lt;p&gt;
Cron job scheduling is probably your ticket to automating processes on your UNIX boxes. But how are you automating the rest of your environment?
 &lt;/p&gt;&lt;p&gt;
Though cron is easy to use, it provides limited options for event-driven and enterprise-wide job scheduling. Because today's enterprises are larger and more interconnected than ever before, crontab scheduling just won’t be able to deliver the level of automation you desire.
 &lt;/p&gt;&lt;p&gt;
Join Mike Diehl, and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler, which gives you the ability to:
 &lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
Integrate your cron job schedules across your enterprise
&lt;/li&gt;&lt;li&gt;
Import existing UNIX crontab data into Skybot Scheduler
&lt;/li&gt;&lt;li&gt;
Schedule new jobs with the familiar cron syntax
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/video-demand-8-signs-youre-beyond-cron" hreflang="und"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Wed, 29 Apr 2015 17:30:24 +0000</pubDate>
    <dc:creator>LJ Staff</dc:creator>
    <guid isPermaLink="false">1338696 at https://www.linuxjournal.com</guid>
    </item>
<item>
  <title>New GeekGuide: Beyond Cron</title>
  <link>https://www.linuxjournal.com/content/new-geekguide-beyond-cron</link>
  <description>  &lt;div data-history-node-id="1338674" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/carlie-fairchild" lang="" about="https://www.linuxjournal.com/users/carlie-fairchild" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Carlie Fairchild&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;cite&gt;How to Know When You've Outgrown Cron Scheduling--and What to Do Next&lt;/cite&gt;
&lt;p&gt;
If you've spent any time around UNIX, you've no doubt learned to use and appreciate cron, the ubiquitous job scheduler that comes with almost every version of UNIX that exists. Cron is simple and easy to use, and most important, it just works. It sure beats having to remember to run your backups by hand, for example.
&lt;/p&gt;&lt;p&gt;
But cron does have its limits. Today's enterprises are larger, more interdependent, and more interconnected than ever before, and cron just hasn't kept up. These days, virtual servers can spring into existence on demand. There are accounting jobs that have to run after billing jobs have completed, but before the backups run. And, there are enterprises that connect Web servers, databases, and file servers. These enterprises may be in one server room, or they may span several data centers.
&lt;/p&gt;&lt;p&gt;
Register now to download your complimentary copy of &lt;cite&gt;Linux Journal&lt;/cite&gt;'s 25 page &lt;a href="http://www.linuxjournal.com/beyond-cron-guide"&gt;Beyond Cron GeekGuide&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/new-geekguide-beyond-cron" hreflang="und"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Thu, 02 Apr 2015 16:45:10 +0000</pubDate>
    <dc:creator>Carlie Fairchild</dc:creator>
    <guid isPermaLink="false">1338674 at https://www.linuxjournal.com</guid>
    </item>

  </channel>
</rss>
