Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [schedule]

The schedule tag should be used for questions about scheduling events, like running applications or processes on a planned time.

Filter by
Sorted by
Tagged with
0
votes
2answers
699 views

How to run bash command with arguments at scheduled time

I have a bash file which runs a process on a series of newly downloaded files, every day, the total run time for all the processing is several hours. I want to run a particular bash command 24 hours ...
2
votes
1answer
10k views

How to setup cron.daily? [duplicate]

I put my shell script inside /etc/cron.daily I was hoping everything that in that folder would be run daily but my script is not being ran.
0
votes
0answers
95 views

How to schedule monitor for sleep mode?

I have presentation in some day of week in university. Some time I need go to the board for describe my notes. So I left my laptop and go to the board. Some time It's take time to describe what is ...
0
votes
3answers
122 views

How to find out if computer was shut down at a given time?

On Ubuntu (14/16) is there anyway to find out if computer was running at a given time? (e.g. last night at 10 pm if the computer was running or turned off) thanks
1
vote
2answers
1k views

Shutdown after idle (but not if the SAMBA server is in use)

I have found several questions about this, but I can't seem to find one that suits my needs. I'd like my machine (Xubuntu 16.04) to power-off if I'm not using it for 30 minutes. However, I use it to ...
1
vote
1answer
71 views

Scheduling consecutive tasks from the command line

I have been reading about using 'at' to schedule tasks from the command line based on start time here. If I don't know how long tasks will take to complete, what is the best way to schedule ...
3
votes
0answers
91 views

only download updates after midnight and before 5am?

I am running Ubuntu 14.04 LTS. Is there a way to set the system to only download updates after midnight and before 5am?
1
vote
0answers
85 views

At job doesn't stop?

I'm trying to schedule a job on Ubuntu using at command: /opt$ at now + 1 min warning: commands will be executed using /bin/sh at> echo "test" > /opt/t.txt at> <EOT> However, the ...
0
votes
1answer
1k views

How to: automatically restart Ubuntu server every 6 months as a scheduled task?

I have a mail server in my environment and I never touched it (someone configured it for me at first) since a few days ago when everything stopped working and I was unable to receive any emails. The ...
9
votes
1answer
7k views

Manually run an Anacron Job

I have performed a minimal installation of my system. I want to use this system as PLEX media server. I have configured LXDE because it is a light GUI. I am configuring my system to take automatic ...
1
vote
1answer
148 views

How can I use the in-built function alert in Gnome Schedule?

I want to access the alert function in Gnome Schedule. I can run alert from my default Bash command-line but receive the following error in Gnome Schedule: /tmp/tmpxi4X16: line 1: alert: command not ...
3
votes
1answer
1k views

How do I set up a cron job on Snappy?

If I run sudo crontab -e I can edit the crontab, but it's read-only so nothing gets saved.
10
votes
3answers
3k views

How do I periodically turn off showing hidden files?

So, in order to hide some files and folders to unskilled eyes, I modified their names putting a dot to the start of the name. It works, and files are hidden. Nosy people that are not skilled will not ...
2
votes
2answers
164 views

How many times will a cron job run when given asterisk (*) on all positions?

If we define a cron job with * * * * * /some/task/to/perform, how many times will the job be executed in 60 seconds?
11
votes
2answers
27k views

Running .sh every 5 minutes

I have a .sh script that downloads a photo from Japanese satellite's server and sets it as a background picture. I've put it into startup list, but how do I run it every, like, 5 minutes, ...
1
vote
2answers
7k views

Schedule tomcat7 restart on Ubuntu 14.04.3 LTS

I have an issue with Tomcat 7 on my Ubuntu machine. I'm still a rookie in this, but it seems that restarting the tomcat7 service fixes the issue. I would like to make a scheduled task on the machine ...
2
votes
1answer
406 views

Crontab on Ubuntu Phone - Scheduling synchronisations

On my Aquaris E4.5 I have successfully configured syncevolution to synchronise my CardDav Contacts and CalDav Calender entries. Now I would like to schedule synchronisations. However, since /var/...
2
votes
1answer
708 views

Scheduling power off and on of my headless server

I want to schedule power off at 23:30 and power on at 6:30 everyday. Here are some problems: If I run such command sudo rtcwake -m off -l -t $(date +%s -d 'tomorrow 06:30') it switches off the pc ...
8
votes
3answers
1k views

How to lock screen 30 minutes after unlock [duplicate]

I would like my children to only use the computer for 30 minutes, at which time I would like the screen to be locked. At that point, if I choose to unlock the screen again, I would like the screen to ...
11
votes
2answers
1k views

Is there software to periodically start and close an application?

Exemplary use case: I would like to start Telegram Desktop periodically every 3 hours for 15 minutes, to check for newly incoming messages. After 15 minutes, the application should close again and re-...
7
votes
1answer
280 views

How to schedule emails with varying content?

I recently moved to Ubuntu 14.04 and encounter my first problems. I would like to create a schedule for automatic email transmission. I'm running some queries every morning via cron which are saved as ...
0
votes
2answers
690 views

CRON: Starting new cycle while the last one is still running?

Example, there is 1 .py script set with CRON to execute every 5 minutes. What if that script takes more than 5 mins to finish? Would that cause the problem? Would .py program broke? Is it possible to ...
0
votes
2answers
657 views

Schedule a Restart for Google Chrome

I am currently working on a project using Ubuntu 14.04 at an airport that allows passengers to view a map of the United States. The map shows a live feed of the flights (both incoming and outgoing). ...
1
vote
0answers
49 views

Schedule command during shutdown? [duplicate]

How do we execute a command such as it executes everytime one logs out or shutdowns or restarts the machine ? To be more specific, I want the autotrash to be executed at logout, or shutdown or ...
2
votes
2answers
1k views

can you schedule the start and stop time of copying in wget?

Hi there I'm new here in the forum and very new using tools for Linux. Actually I'm tasked to learn about wget. I already know a few though I'm trying to find out if there is a syntax to use to ...
1
vote
2answers
3k views

How to Snapshot and Recover complete Linux system? [closed]

I have a laptop with Ubuntu installed on it and some other private software and files. I want to make a complete image of the current state of my system and than make backups on daily basis of my work....
2
votes
0answers
136 views

CPU Scheduling incredibly slow with large difference between total execution time and actual CPU time - Ubuntu Full-Disk Encryption enabled

Admittedly, I am running on a build that is no younger than five years old at this point and the system is not going to be incredibly fast. However, at the same time, the run-times I am observing are ...
0
votes
1answer
47 views

How to schedule a script to be run as soon as the system is booted?

My laptop's touchpad doesn't work unless I enter the following commands in the terminal: sudo modprobe -r psmouse sudo modprobe psmouse proto=imps I could do this everytime I log in, but I want to ...
1
vote
1answer
833 views

Suspend Ubuntu after 10 minutes but keep awake for certain period

I would like to have my Ubuntu pc suspend after 10 minutes inactivity but it must switch on and remain on from midnight to 6:05 am. Any suggestions?
2
votes
1answer
1k views

can't find package crontab-ubuntu 12.04

I am trying to install cron for scheduling and before anyone says duplicate, I have tried the methods of sudo apt-get update and upgrade mentioned and they don't work. When I go to install crontab, ...
0
votes
1answer
476 views

Program, time schedule sounds (mp3, wav)

Im looking for a program which play certain sounds that I add - in the program - on different times. Have googled a lot but haven't found anything. Have a great day!
0
votes
1answer
320 views

Scheduling shutdown in layman's terms

I'm trying to schedule a shutdown for 10:30pm (22:30) each evening. I am fairly new to Ubuntu. In Windows 7, this was an extremely easy task. Apparently in Ubuntu this is a rather complicated task. I'...
1
vote
2answers
897 views

Schedule a large download to resume everyday in a specific time-span of the day?

I want to schedule a large download to occur at night, between 12AM and 5AM. Everyday at 12AM wget should automatically pick up where it left the night before, and at 5AM, it should automatically ...
17
votes
2answers
10k views

check-new-release process eating up resources on Ubuntu server 13.04

A small Ubuntu 13.04 virtual machine instance I run in a cloud environment regularly becomes slow/unresponsive because of a proces called check-new-release. Is there any way to disable this process ...
0
votes
1answer
3k views

The kernel use which scheduling algorithm?

I know there are a lot of scheduling algorithm for processor. like FCFS ( first come first served ) Or SJF (short job first) and so on. How to know the kernel using which algorithm ?
1
vote
1answer
164 views

How to schedule an irregular backup script requiring user confirmation

I have a backup script which requires user interaction. I would like to schedule it to run, say, once a week. The constraints are that (1) the computer boots straight into Gnome and is turned off ...
6
votes
0answers
403 views

Which tasks in “Scheduled Tasks” (gnome-schedule) use anacron versus cron?

I am trying to run a command once a day, but my machine is not always on. anacron says it's meant for such purposes, but I prefer to use the Gnome Scheduled Tasks GUI program. If I schedule a task to ...
3
votes
1answer
437 views

Understanding the at-command to schedule another command

I use cron to schedule things in Linux, but recently I discovered the "at" command. sudo apt-get install at I don't understand the scope from which this command operates: How would you schedule a ...
2
votes
1answer
714 views

Does duplicity detect when a Backup Is Already In-Progress?

Any time you schedule a recurring backup, it is always possible for a previously-initiated-backup to run so long that the next scheduled backup gets initiated before the previous backup completes. ...
2
votes
3answers
4k views

Need to skip lost+found when using find

I am new to Ubuntu and I do not have alot of experience with Linux/Unix, so please bear with me while I try to get through this. I have a camera system that records footage and takes screen shots and ...
0
votes
1answer
641 views

How is logging of automatic/schedules scans enabled for clam AV?

In this thread it is discussed how to log a scan by ClamAV. However, the suggestions are only for logging one-off scans triggered from command line. My situation is that I'm working in a setting ...
0
votes
1answer
2k views

How to Schedule a Shell Script

i wanted to schedule shell scripts in my ubuntu 12.04. i know "at". but i wanted some thing that would schedule my shell script exactly at 12:00 AM or exactly on the first day of a month repeatedly!
10
votes
3answers
29k views

How do I configure Ubuntu to reboot every day at a given time?

Using the terminal or a bash file, how can I configure Ubuntu to reboot every day at (say for instance) 3 AM? In other words, I want to schedule an automatic reboot through the terminal. I haven't ...
0
votes
1answer
381 views

automatic scan scheduled with clamtk for ubuntu 12.04 does not work

the automatic scanner that i have scheduled with clamtk for ubuntu 12.04 does not work. i have to do the job manually. is there a code i can punch into the console that will fix this problem so that ...
0
votes
1answer
1k views

task scheduler in system settings does not appear

i install KDE's Task Scheduler to be able to access to crontab via GUI . After install , i try to open this soft , however , i cannot find where it is. I follow this DEMO on Youtube , and i note ...
0
votes
2answers
158 views

I cannot find my schedule for system shut down

Long time ago I set a schedule for shutting down the system at a particular time. Now I need to change this time but I cannot find this schedule anywhere. I checked crontab and gnome-schedule Does ...
0
votes
2answers
3k views

Scheduled task with at command (6AM)

im gonna reboot my server 6am every day, if my internet get disconnected and DDOSed. Does anyone have an idea how to do the command "at" at a specific time, and "AM"? Thanks- My computer clock doesnt ...
2
votes
2answers
1k views

How can I schedule execution of a program?

Let's say I have a small "Hello World" Java program compiled in my home directory. I can run it with java helloWorld from my home directory and it executes without any problem. Now I need to ...
1
vote
0answers
22 views

Set logon hours for user accounts [duplicate]

I want to stop a user account from logging in after a specified time. I know how to do this on Windows, but I can't seem to find an a way to do this on Linux.