Questions tagged [automation]

The use of control systems to reduce the need for human work. Related to automatic systems.

The use of control systems and information technologies to reduce the need for human work in the production of goods and services.

443 questions
291
votes
5 answers

Avoiding user interaction with tzdata when installing certbot in a docker container

I want to install certbot in a docker environment with an Ubuntu 16.04 image: For example: docker run -it ubuntu:16.04 /bin/bash When I'm inside the container, the most straightforward way to install certbot does not work as it requires user…
Philipp Claßen
  • 4,354
  • 6
  • 25
  • 31
82
votes
4 answers

What's the difference between Juju and Puppet/Chef?

Have tried asking 3rd party about key differences between Juju and Puppet/Chef. 3rd parties are not too familiar with Juju and could not say. They simply stated the others have a lot of momentum, and it would be hard to overcome their lead. Would…
mark
  • 821
  • 1
  • 7
  • 3
60
votes
4 answers

How do I autostart docker container at system reboot?

As I hosted a WordPress site in docker containers and i want these containers to be started at boot time always, so need to done it manually.
nayan tiwari
  • 711
  • 1
  • 5
  • 4
57
votes
5 answers

How can I automatically shutdown the system after a specific time?

How can I automatically shutdown the system after a certain customizable time?
NES
  • 32,845
  • 41
  • 101
  • 115
54
votes
4 answers

How to enable silent automatic updates for any repository?

I read here how to enable silent automatic updates for Google Chrome. However, I have other repositories like spotify, docky and others for which I would like to enable silent updates. I am trying to do this in my Ubuntu 10.04 system. But this…
nik90
  • 12,399
  • 10
  • 44
  • 71
51
votes
2 answers

Add lines to cron from script

Is there a way to add lines to a user's cron via script? I usually do it using crontab -e, but I would like to automate this task with a shell script.
Adam Matan
  • 12,289
  • 24
  • 71
  • 90
36
votes
4 answers

How to find the number of packages needing update from the command line?

I'm working on some system admin automation using fabric and I'd like to be able to monitor the number of packages that need upgrading on a given machine. This is the same information that I can see when I first log in to a machine, i.e. this…
KayEss
  • 598
  • 1
  • 5
  • 15
28
votes
2 answers

How can I enable silent automatic updates for Google Chrome?

Installing Google Chrome causes a third-party software source to be added from which Google Chrome upgrades can be retrieved: $ cat /etc/apt/sources.list.d/google-chrome.list ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this…
ændrük
  • 75,636
  • 74
  • 233
  • 365
27
votes
5 answers

how to put a trigger on a directory

I have a script that scans a directory and does some maintenance on the files in it. Another process creates the files in the directory (10 - 30 files per day). The script is called via a daily cron job . What I need is to trigger the script on an…
albert green
  • 625
  • 1
  • 8
  • 15
26
votes
2 answers

Autorun a script after I plugged or unplugged a USB device

What can I do to run automatically a script after I mount/plugin or unmount/unplug a USB device?
Radu Rădeanu
  • 166,822
  • 48
  • 327
  • 400
24
votes
2 answers

Auto delete files older than 7 days

I am a complete noob at linux but I am starting to get the hang of it. I have an Ubuntu Server 16.04 running an FTP server to backup security video files. The files will be stored in folders like: /home/securityfolder1, /home/securityfolder2,…
Jacco
  • 341
  • 1
  • 2
  • 5
21
votes
1 answer

How to run a cron job as a specific user?

I have a couple of commands I want executed after the machine boots up. A user shouldn't have to log in or anything for them to run. I found this great answer suggesting crontab with the @reboot keyword, however this will run as root, and I'd like…
Louis Waweru
  • 386
  • 1
  • 5
  • 17
20
votes
6 answers

How do I get involved with testing and QA with Ubuntu?

I'd like to get involved with Ubuntu QA by creating automated tests. Is there an ongoing effort to create these tests? Where can I learn more?
David Siegel
  • 8,882
  • 10
  • 34
  • 34
19
votes
1 answer

Automating Linux (Like AutoHotKey for windows)

What programs are available for Linux that can give a context sensitive automation like AutoHotKey for Windows. a few example of things that I would like to do. Replace ]d with the current date, when typed. Map Ctrl+Enter to Tab,Tab,Enter when on…
Andrew Redd
  • 2,157
  • 7
  • 24
  • 33
19
votes
5 answers

Alternative for Mac OS X Automator?

I once tested Mac OS X and something that called my atention was Automator, a software to visually create scripts to automatize tasks on the desktop. Is there any Linux alternative for this software?
Rodrigo Carvalho
  • 451
  • 1
  • 5
  • 10
1
2 3
29 30