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
1 answer
411 views

unattended-upgrade on specific day?

I have a few clustered servers which I want to upgrade with unattended upgrades - but on different days of the week. Since I can loose multiple nodes in the cluster I want to ensure that one runs ...
azzid's user avatar
  • 866
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
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
2 votes
1 answer
3k views

How to install gnome-schedule on Ubuntu 22.04?

Finally upgraded to Ubuntu 22.04 and my favorite application gnome-schedule (I somehow managed to install it for 20.04) is not working. I tried to follow install instructions here https://gitlab.gnome....
user947967's user avatar
0 votes
1 answer
290 views

How can I adjust the "Remind me later" time for upgrade Ubuntu notifications?

It seems like I am getting a pop up every day or every other day to upgrade Ubuntu. I click on the "Remind me later" but "later" ends up being tomorrow! I don't want to forget it ...
AWM's user avatar
  • 47
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
555 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
5k views

How can I schedule one(!) reboot? [duplicate]

Say I want my machine to reboot tomorrow at 02:00 am. And not again later, just that one time tomorrow morning. How can I do this?
birgersp's user avatar
  • 441
0 votes
1 answer
91 views

Scheduling tasks a certain amount of time after login

I have written a python program that reads from email. If a certain string is received from email then it does nothing. But if the python program does not receive that string, it runs a bash script, ...
Anusheen Nema's user avatar
0 votes
1 answer
295 views

Patching on a specific date each month - how?

I am looking to setup an environment where our Staging and Dev servers are patched in the 2nd week of a month - lets say Thursday. Then 2 weeks later - again on Thursday, we patch production. This ...
jim459's user avatar
  • 25
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
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
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
3 votes
3 answers
2k views

Foreground task scheduling in Linux similar to Windows's Task Scheduler

I have a batch application on Windows that I run every day at midnight. Recently, I converted this into a Linux shell script on a Linux machine and would like to similarly run it every day at midnight....
Youssif Saeed's user avatar
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
0 votes
1 answer
68 views

How can you schedule regular tasks to execute when available?

I want to schedule some tasks on my ubuntu 20.04 destkop to execute regularly. Like backups or downloads from certain sites or whatever. I have been using crontab for this, but if so happens that my ...
metichi's user avatar
  • 897
1 vote
1 answer
583 views

How to schedule task on Linux Desktop

How to schedule task on Ubuntu Mate 20.04 Desktop, to run bash script.sh once a day on Tu/We/Thu/Fri/Sat, after laptop startup? Note: I can run job once a day by Anacron on laptop starup: /etc/...
Dan's user avatar
  • 149
2 votes
2 answers
1k views

How can I change the frequency of the Lubuntu Update Notifier (Lubuntu 20.04)?

It pops up every hour, even though I went into Preferences > Software Sources > Updates and set the schedule to weekly and rebooted (and daily is the shortest period offered in that dialog.) ...
sdenham's user avatar
  • 123
0 votes
1 answer
307 views

Is it possible to schedule trash cleaning?

I was wondering if it is possible to do this, because I have to delete a lot of files during job day, and I prefer to do it on interface and no using sudo rm, so if it's possible... how? For example, ...
southernegro's user avatar
20 votes
2 answers
12k views

Cant stop FortiClient vpn from starting on startup

I'm using FortiClient for VPN purposes only and don't need it running any other time. I can't get disabled from starting on startup. How to disable auto-launching of FortClient on startup?
Sudesh Chaudhary's user avatar
1 vote
3 answers
647 views

LuckyBackup superuser scheduled backups do not run

I am currently running Ubuntu Studio 20.10 on a Dell desktop PC. I have two different accounts, and would like to use LuckyBackup in superuser mode to run the backups and retain permissions. The ...
Nicled's user avatar
  • 197
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
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
1 vote
1 answer
3k views

Schedule a crontab edit

Is it possible to schedule a crontab edit? I mean, for example, tomorrow at 10 AM I want to schedule something. Is there a way to crontab a script that tomorrow will edit crontab (scheduling something)...
Marco's user avatar
  • 11
0 votes
1 answer
999 views

xrandr script for external monitor adjustment not executing from udev

My laptop has a 4k screen and I also have an external 1080p monitor. The scaling is incorrect on the monitor and so every time I plug in the monitor, I execute an xrandr command to fix it. I figured I ...
ashtond18's user avatar
1 vote
2 answers
906 views

How do I create a systemd timer running an event twice a month?

I am simply not able to figure out how to create a systemd timer that is run twice a month. Every two weeks would work also. Can someone please enlighten me?
Christian's user avatar
  • 1,739
1 vote
1 answer
487 views

How to run a task on login of *any* user (or any member of a particular user group)

I have found many explanations of how to schedule a task to run on system start (which I am already doing by means of an entry starting with @reboot in /etc/crontab) or on login for a particular user (...
R B's user avatar
  • 316
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
255 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
2 votes
1 answer
2k views

Is it possible to schedule `fsck` command and run it in background?

I want to run periodically the fsck Terminal command, so it will run, let's say, every Friday at 10 am. Also, I'd like it to run in background and save the output in file, let's say, ~/Documents/...
BlueSkies's user avatar
  • 2,145
1 vote
1 answer
821 views

Crontab not running task [duplicate]

I did crontab -e then added */2 * * * * /usr/bin/notify-send "test", which is supposed to send a notification every 2 minutes, but it's not working. The crontab file looks like this. # Edit this ...
Angular Orbit's user avatar
2 votes
1 answer
564 views

Run AIDE at the selected time of the week

How can I configure aide linux to start at the selected time of the week, e.g. on Sundays at 9?
tomasz-groch's user avatar
1 vote
1 answer
1k views

Can I run a scheduled task once? [duplicate]

This might be a duplicate post but couldn't find one. I'm looking for a way to run a shell script once at a specific time. Like run it once at 16:00 then remove from queue. crontab has no setting ...
Sandoz's user avatar
  • 114
0 votes
1 answer
86 views

I need to stop a execution of a command and start the same comma every x interval of time in terminal?

I need to stop execution of a running java script in terminal and start the same execution at every x interval of time in terminal. Is it possible?
Bharathi Arjun'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
2 votes
0 answers
64 views

Can I schedule updates for a specific time of day? [duplicate]

Satellite based internet is my only option. My ISP is not reliable and I must schedule downloads (ex. updates, video) to off-peak hours. I am very new to Ubuntu. My ISP does not throttle my speed ...
Hotwrench's user avatar
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
4 votes
3 answers
210 views

Cronjob every 1445 minutes

First of all, sorry my bad English. Im new to Crontab and i was making some schedules. I was scraping some data from the internet with Python and i have this website that when you scrape some data, ...
edisonmecaj's user avatar
0 votes
1 answer
34 views

Give scheduling rights with security.conf

I am running a C++ program which wants to enforce its own scheduling policy. It keeps giving warnings that it doesn't have the rights to, and I want to give it all the rights that it wants! I tried ...
gsamaras's user avatar
  • 605
4 votes
1 answer
506 views

Set grub2 to boot into Ubuntu on weekdays and Windows on weekends

Using the excellent answers from this thread I've been able to schedule booting into different OSes at different times of day. However, I would like to get the community's advice on how to boot into ...
ignarukih's user avatar
  • 143
2 votes
1 answer
2k views

Force ubuntu to log out at a specific time

I'd like to force my account to log out at a specific time as a self-restraint measure (e.g., to ensure I go to bed on time). And for the script to run whenever I try logging in after that time ...
user avatar
1 vote
1 answer
4k views

Does cron automatically adjust to a timezone change?

I added a cron job with crontab -e. Then, I changed the timezone. However, it seems as if the cron job is still firing in the old timezone. Do I need to restart it cron? (e.g. service cron reload) ...
Luke's user avatar
  • 121
0 votes
0 answers
47 views

Swap config files at certain times [duplicate]

I am trying to make a script that switches files at different times of days so that my settings are pulled at different times like a day mode and a night mode. If I have a file 1, 2, and 3 which 3 is ...
Colt Burdine's user avatar
2 votes
2 answers
4k views

Run and kill a bash program at a scheduled time

I need to run a bash program at scheduled times (based on local time) on my Ubuntu 16.04. For instance, this is what I need: Mon-Thursday, 10AM to 6PM AND Friday 10AM to Saturday 6PM: bash runme.sh ...
angel_30's user avatar
  • 303
0 votes
2 answers
880 views

How do I chain execution of scripts? [duplicate]

I want to automate running a Python script. And I think I already know how to do that with a cron entry. The problem is that I need this script to run again only if a previous one has finished. The ...
Emil Filipov's user avatar
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
7 votes
2 answers
7k views

Check if shutdown schedule is active and when it is

I have been trying to determine if a shutdown has been scheduled in my system (Ubuntu 17.10). If I input via terminal "shutdown 100", it confirms that system will shut down at a time. But later on, ...
Chema Rynld's user avatar
0 votes
1 answer
6k views

Configure unattended-upgrades to run only at a certain time of the day?

I have some kind of internet that I don't really recommend to anyone, but there -- it's a limiter traffic (4G from a mobile carrier). Fortunately, in a way, the night traffic is free, so I am looking ...
lolinux's user avatar
  • 11