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.

446 questions
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…
9
votes
2 answers

Automatically close application after custom time?

Is there a way to automatically close a certain application after custom time? Update: i.e. stop the Audioplayer after a certain time.
NES
  • 33,195
4
votes
1 answer

How can I automatically mute my laptop when it connects to my work wifi network?

I'm running Ubuntu 14.04 and it would be helpful if I can do this. My phone can do it, my laptop should be able to!
3
votes
1 answer

How to skip "please [Enter] to continue" during automating apt-get install?

I have a script to install trough a automated process. Here is an example: sudo apt-get update clear sudo apt-get install -y nginx clear It works good, but not when I need to add a PPA. Here I have this following message: please…
IgorAlves
  • 1,132
3
votes
2 answers

How can I automate opening and closing groups of applications?

I'd like to click a button that launches my group of applications that I need for graphical design. Then after a few hours be able to close them and open all my social applications (Empathy, Thunderbird, netlog.com, etc...). And sometimes open the…
Johan
  • 99
2
votes
2 answers

Exit command with any key

Here's what I have: A script that records sound and exits when pushing ctrl+c arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 > file This will record and record until I push ctrl+c I want to simulate the ctrl+c action, by pushing any key…
2
votes
1 answer

How can I install Dog Tail

Does anyone have a detailed and accurate reference on how to install DogTail? I tried to install it, but I come up against problems.
NYO
  • 21
1
vote
1 answer

Running command at certain time or after that as soon as possible

I have folder for temporary folders and I would like it to be emptied automatically at 3am. I know crontab probably could do this but what if my laptop isn't on when it should run?
Viped
  • 41
  • 3
1
vote
1 answer

how to auto reboot with a interactive section?

the auto installation runs perfectly with customize user-data, but it won't auto reboot when install complete. I find no documents about reboot in https://ubuntu.com/server/docs/install/autoinstall-reference and I also find an article here…
0
votes
1 answer

How can I install a security updates before a given date?

How can I install just security updates from the command line? The above question does a good job of describing how to do security updates only. Is there a way to install all security updates that were released before certain date? The context here…
0
votes
0 answers

automating linux GUI app with touch events

I'm trying to automate performing some events in an application running under X11. To do so, I need to send touch (not mouse) events to specific locations in the window. For instance, I need to long press a certain location (e.g. touch down for 2…
Michael
  • 1,135
0
votes
1 answer

UBUNTU Desktop Management Tool

I am looking for a Desktop Management GUI Tool to control and manage ubuntu laptops or desktops where it supports Inventory,RemoteExecution,log audit,provisioning,remote desktop or console,Monitoring systems,Application Management,patch…
0
votes
1 answer

Shell scripting automation

I just wanted to know that is there any process by which we can automate the process of fetching the server logs periodically by running some cron-jobs and saving the logs directly as a zipped file/normal text file into my local system. For the…