IT
  
Attualmente si sta visualizzando la versione Italy del sito.
Volete passare al vostro sito locale?
6 TEMPO DI LETTURA MIN

CRON

Scheduling tasks

Want to make time for hobby projects such as uncovering the name of Doctor Who? Shashank Sharma suggests automating recurring tasks.

OUR EXPERT

Shashank Sharma is a trial lawyer in Delhi. He collects geeky memorabilia, but wonders if sanitisers would qualify.

The Occam’s Razor principle is often paraphrased as ‘the simplest answer is often correct’. Although this has long been thought as something that applies to science, this principle can also be used to determine the best software solution to a given problem. This is why tools like Cron and At remain so popular for automating recurring tasks. Cron is used for tasks you wish to perform repeatedly, such as installing updates, or performing backups. The At utility, on the other hand, can be used to run tasks only once, at the specified time.

You can visit https://crontab. guru or https://crontab-generator.org if you need help mastering the different values used for defining cron jobs.

But that’s something that would only appeal to system administrators, we can hear some of you earnest readers complain! Although a critical skill for any administrator, automation of recurring tasks can be every bit as useful for desktop users. For example, perhaps you want your certain critical data to be backed up every day, or wish to delete the contents of the Downloads, or any other directory every week to ensure you have enough free disk space. You could perform each of these tasks manually, but the downside is that you might forget to do so every so often.

Sbloccate questo articolo e molto altro con
Si può godere di:
Godetevi questa edizione per intero
Accesso immediato a oltre 600 titoli
Migliaia di numeri arretrati
Nessun contratto o impegno
Prova per €1.09
ABBONATI ORA
30 giorni di accesso, poi solo €11,99 / mese. Disdetta in qualsiasi momento. Solo per i nuovi abbonati.


Per saperne di più
Pocketmags Plus
Pocketmags Plus

Questo articolo è...


View Issues
Linux Format
September 2020
VISUALIZZA IN NEGOZIO

Altri articoli in questo numero


In This Issue
Backups are dead, long live backups!
No one needs to back up any more. Yes, after
REVIEWS
AMD Ryzen 3 3300X
We always enjoy looking back at the past with processors,
Crucial P2 500GB
On the hunt for a new SSD for your system?
EndeavourOS 7.15.2020
An intermediate, rolling release, distro for anyone wanting a taste
BunsenLabs Lithium
A lightweight Debian-based distribution that leverages OpenBox, Tint2 and Compton
Tropico 6
Tropico 6 is a great game for people watching. It’s
ROUNDUP
Privacy distributions
Specialist distributions such as the ones featured in this Roundup
BACK UP LIKE CLOCKWORK!
There are two types of people in this world: those
INTERVIEW
PRESSURE VESSEL
Simon McVittie is a Debian developer and a consultant for
IN-DEPTH
LibreOffice 7
These very words have been written with LibreOffice 7.0 and
Pi USER
KEEPING ALL CHANNELS OPEN
Cerys Lock is the organiser of the Stafford Raspberry Jam
Self-hosting Raspberry Pi cluster of Pis
We get the feeling that large sections of the population
Radio PiPi
Part of the Pi’s appeal is the physical interaction necessary
Pi in Space
We’ve mentioned multiple times over the past year the various
4tronix Picon Plus
An advanced motor controller for the Raspberry Pi that provides
How to run Arch Linux on the Pi
Jonni Bidwell thinks he can hear the unmistakable sound of
CODING ACADEMY
Recreate the Game of Life simulator
Each issue we’re building a retro video game. In this
REGULARS AT A GLANCE
LibreOffice looks to protect long-term viability
There was a brief internet drama back in July when
Tor Project under threat
You may never have heard of the US Open Technology
Encrypted Data Act
Conspiracy theorists often say governments love spying on their citizens
RING THE PLUMBER!
A key improvement that PipeWire brings over PulseAudio is that
THAT’S NO WOLF
You may think of MongoDB as a wolf hiding in
Linux Foundation to track and trace Covid-19
Ireland’s Health Service Executive (HSE) has announced that it’s donating
Proton 5.0
It’s a regular theme that we cover the latest milestone
Manjaro changes
The Treasurer of the Manjaro project has stepped down over
Distro watch
Lovers of reptile-based distros will love the latest spin of
WANTS AND NEEDS
We’ve just had an email from a client who wants
LINUX IS THE TOPS
Linux turned 29 shortly after we went to press. The
Kernel Watch
Linus Torvalds announced the release of Linux 5.8, which has
ONGOING DEVELOPMENT
Steven Price (Arm) posted a patch enabling MTE (memory tagging
Answers
Got a burning question about open source or the kernel?
Mailserver
Write to us at Linux Format, Future Publishing, Quay House, The
Symphonium
Alexander Tolstoy has an open source app for everything, not
Cadmus
Few people want background noise in their audio recordings, and
E4head
This article was written when Fedora developers were discussing the
Gromit-MPX
During a presentation in front of an audience, it’s common
Fsmon
Sometimes there’s a good reason to know a bit more
Qt-SESAM
Every once in a while there’s a study on network
Video-trimmer
Normally, few people would reach for a heavyweight video-editing application
Pillar Valley
The Pillar Valley author declares on its Github front page
Caveexpress
Most platform-style arcade games have so much in common that
Flatpak
The two main rivals in application sandboxing are Snap and
Viper Browser
Browsing the web is one computing task that’s well served
TUTORIALS
Assemble basic touch and motor controls
Les Pounder is associate editor at Tom’s Hardware and a
Databases made quick and easy
Nick Peers built his first database for his computer science
Build a streaming video web service
The (fictional) Brixton Youth Sports Association (BYSA) needs a place
BASIC and demos on the Commodore 64
The Personal Computer with Professional Power was how the Commodore
Create a video game in the Godot engine
Godot is an open source video game development engine. In
Chat
X
Supporto Pocketmags