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.

451 questions
319
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…
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
63
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.
60
votes
7 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
  • 33,935
56
votes
5 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,959
55
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,919
37
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
  • 618
30
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
  • 78,496
28
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…
28
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
  • 174,089
  • 51
  • 332
  • 407
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
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…
21
votes
6 answers

Is there a markdown "rich text" editor?

I have become fed up with writing down markdown tables scratch, I need some "rich text editor like" program to automate creation of markdown for me and hence of tables. The only rich text editor I work with is LibreOffice Writer and it doesn't…
user423047
20
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?
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
  • 9,022
1
2 3
30 31