Questions tagged [schedule]

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

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
441 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 ...
user29020's user avatar
  • 533
3 votes
0 answers
166 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?
James of Louisville's user avatar
2 votes
0 answers
97 views

How to auto-shutdown Ubuntu Server 23.04 when inactive/hdd not used

I have a media server with 1 hard drive. I use it daily at evening, so it would be a waste of electricity if the server is turned on 24/7. So, I want to shut it down when it is not in use, ...
Rizwan Rashid Arnob's user avatar
2 votes
0 answers
29 views

Samba share write access allowed in chosen time - how to do it?

I would like to configure a samba share to be writable only within scheduled time. What is the best method to do it? Regards Kriss
Kriss's user avatar
  • 21
2 votes
1 answer
2k 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 ...
Solvek's user avatar
  • 142
2 votes
0 answers
188 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 ...
sherrellbc's user avatar
1 vote
0 answers
308 views

Is there a way to queue scripts in ubuntu/debian/linux?

I have a strange question(at least to me!), but I'm not sure how to even approach it. Background I have a few batch jobs(python scripts called via cron or python script being called by bash script). ...
Lostsoul's user avatar
  • 151
1 vote
0 answers
56 views

Scheduling using systemd on Ubuntu on a Raspberry Pi

We have a Raspberry Pi, running Ubuntu 20.04 LTS, which is used to run several regularly scheduled jobs. The jobs consist of Python scripts, and are run using systemd timers and services. This worked ...
odg's user avatar
  • 11
1 vote
0 answers
172 views

How to use taskset with more than 128 cores?

I am using taskset with more than 128 cores. I know that a cpu with less than 32 cores can run the following: taskset -p 0xFFFFFFFF pid How do I present the other cores besides the 32 cores. Thanks.
Lee's user avatar
  • 11
1 vote
2 answers
61 views

Schedule boot on old hardware

I've turned an old desktop in a home server. I would like to be able to boot and shutdown on schedule. Shutdown is easy with a cronjob. The boot part is tricky. This is an old Pentium 4. There is no ...
Rafiek's user avatar
  • 13
1 vote
0 answers
159 views

How do I schedule the recording of a live Youtube stream to watch later?

I wanted to record live church streams that I cannot watch live when they take place and that are not originally archived by the church themselves. What software can I use to accomplish this on a ...
george's user avatar
  • 11
1 vote
0 answers
127 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 ...
Kao's user avatar
  • 111
1 vote
1 answer
1k 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?
Myles Macaulay's user avatar
1 vote
1 answer
1k views

What is the format of /proc/[pid]/sched file? What is option avg_per_cpu in it?

I'm wondering if there is some documentation for /proc/[pid]/sched file in linux? this is not present in man proc. I need to understand what are the different field in there and what is avg_per_cpu ...
Dheerendra's user avatar
1 vote
0 answers
109 views

Backup regimen - is this plan any good?

I have a desktop that has some valuable personal and financial records, photos, etc. I installed a second drive formatted ext3 called 'internalbackup'. I've been using a variety of backup programs, ...
Marc's user avatar
  • 9,980
1 vote
1 answer
230 views

Why does `at` remove my scheduled events?

I set an at scheduler command like at -f **its_time** 23:57 when in the its_time file I put libreoffice /home/user/ist_time.odt I scheduled but the "system" or whatever is removing yourself my at ...
Tarcilo's user avatar
  • 21
1 vote
1 answer
287 views

scheduled tasks running but have disappeared

I had recently installed gnome-schedule 2.1.1-4 onto my ubuntu 12.10 so that i may be able to schedule a recurrent shutdown on my laptop everyday at 1:55 pm. After a few days when i didn't need the ...
as3091's user avatar
  • 11
0 votes
0 answers
105 views

Schedule Shutdown returns an error: No buffer space available

I have set up a few new headless Ubuntu servers. :~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy ...
Kamuran Sönecek's user avatar
0 votes
0 answers
684 views

Transmission Gtk-WARNING **: <time> cannot open display: :0.0

Ubuntu 22.04 I'm trying to use crontab to launch Transmission at 22:04 and kill it at 07:00. To launch it at 22:04, I use: 04 22 * * * env DISPLAY=:0.0 transmission-gtk But I get the error: (...
Mark Smith's user avatar
0 votes
1 answer
554 views

Change how often the cron job for PHP's internal garbage collection runs

I want to modify the cron job at /etc/cron.d/php that runs PhP's garbage collector every half an hour at xx:09 and xx:39. This is the content of the cron job. # Look for and purge old sessions every ...
azbatuk's user avatar
  • 446
0 votes
1 answer
272 views

How to hibernate after some time or when battery is discharged

I use Ubuntu 21.04. sudo systemctl hibernate works fine to hibernate. But suspend doesn't (see: Some buttons don't work after suspend andresume) How can I automate hibernation when using battery ...
stilllinuxlover's user avatar
0 votes
0 answers
146 views

Can we delete all partitions in disk using gparted tool as scheduled task or automatically?

I want to clean up the disk before using it. I am doing this manually. Help me out to automate this/ schedule this.
vikki haran's user avatar
0 votes
0 answers
173 views

Why `at` can't find `mail` even if it's in every path, including the systemd unit?

I'm trying to get the logs of at, which AFAIK are sent via local mail. The problem I'm having (on Ubuntu 20.04) is that I've configured the mail, and the PATH, but any time I execute at, the syslog ...
Marcus's user avatar
  • 2,475
0 votes
1 answer
1k views

Cron job scheduling for last Saturday of every month at 09:00 AM

Is their any way to schedule a CRON Job, which triggers the script only on last Saturday of the month. Please advise.
surbhi bhadvia's user avatar
0 votes
0 answers
254 views

How do I schedule boot ubuntu 18.04LTS?

I have tried the WakeOnLan Application but it does not work in 18.04 LTS as provided in following solution: Scheduling StartUp and ShutDown I have dual boot windows 10 and Ubuntu So I cannot change ...
Akshat Zala's user avatar
0 votes
1 answer
229 views

Script misbehaving with scheduled using "at"

I would appreciate advice on why a script would run fine when the script is launched from a terminal command line, but some commands in the script seemingly do not run when the script is scheduled ...
stuart_h's user avatar
0 votes
0 answers
2k views

how to automate a shutdown with delayed reboot

I maintain a file server for a research lab, and I need to figure out how to automate shutting down the server while incorporating a delayed reboot. The electricity is being serviced in our building, ...
Phil_T's user avatar
  • 147
0 votes
0 answers
110 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 ...
user3575812's user avatar
0 votes
2 answers
1k 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). ...
Sean Crosby's user avatar
0 votes
1 answer
68 views

Starting an application as a scheduled task does not work

I have a seedbox under an Ubuntu desktop server. I can run rtorrent correctly but if I restart the server I need to relaunch rtorrent with this command: sudo -i screen -fa -d -m rtorrent I would ...
Olivier Sohy's user avatar
0 votes
2 answers
163 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 ...
Amir Hoseinian's user avatar
0 votes
1 answer
178 views

How can schedule to run 'deluge BT client' in ubuntu 12.1 using gnome schedule

Since it's a GUI there is bit of complication. Can you guys help? Thanks. (I need a recurrent task btw)
Cadogen West's user avatar
0 votes
1 answer
289 views

What is this python script doing?

What I need is an executable file (so that I can double click and open) of Deluge Bit torrent client. I found this, deluge.py is my usr/bin folder. #!/usr/bin/python # EASY-INSTALL-ENTRY-SCRIPT: '...
Cadogen West's user avatar
0 votes
1 answer
39 views

Is there a schedule for the system updates that come through update manager in 12.04?

I've noticed a lot of updates come through update manager in the last few weeks. When updates to core systems are required is there a schedule for release that I can check off against what I'm ...
vanoccupanther's user avatar