Skip to main content

Questions tagged [cron]

Cron is used to execute scheduled commands. It acts as a task scheduler on Linux and UNIX systems which will execute commands at specified times set by the user. Cron has a great deal of customization and is often used on server environments where common tasks are run on a regular basis.

0 votes
2 answers
63 views

I wrote a short script that runs whenever my server restarts, however, the client tmux session is active after the server boots, but the api tmux session is not. I'm using the following script #!/bin/...
FullyHumanProgrammer's user avatar
0 votes
1 answer
55 views

I need to auto run the python script (having some print statements) in Ubuntu upon every restart. I have typed crontab -e that opens a file in nano. I just have written the following line at the end ...
engr_john's user avatar
  • 147
0 votes
1 answer
67 views

Trying to create a cron job to do weekly backups, but I'm creating simple test to make sure the cron job works before I put in the actual commands. This is what I added to crontab: */2 * * * * /etc/...
Chris2258093's user avatar
0 votes
2 answers
212 views

My system is Lubuntu 22.04.5 LTS on a laptop. Because I would like to keep my battery as healthy as possible, I want to make sure that the charging level stays between certain boundaries, but the ...
plopper's user avatar
  • 169
0 votes
1 answer
357 views

I'm a user, not a programmer, and I need help with syncing photos between my devices on Ubuntu. What I have: A laptop with limited space where I upload photos from SD cards to a server using SSHFS. A ...
iain westland's user avatar
0 votes
0 answers
57 views

We’ve encountered a system crash issue on one of the hardware units and would appreciate your advice. Upon reviewing the event logs, the following sequence was noted: Time Event Details 17:17:01 ...
Irwan Sun'an's user avatar
0 votes
1 answer
202 views

I currently have a server running Ubuntu 22.04. I use it via SSH, and I made so it runs my Minecraft server automatically with Cron. Because cron doesn't open a screen, I want it to open one, so I can ...
supradi27's user avatar
0 votes
1 answer
94 views

I'm generally happy with my Ubuntu install on my home server, but there is a feature (specifically about cron) I miss from Gentoo. I would like to know if it is possible to replicate it on Ubuntu. I'...
Nicias's user avatar
  • 1
0 votes
1 answer
166 views

I'm writing a crontab where I want a certain script to run every time my machine is rebooted, something like this: PATH=/root/.nvm/versions/node/v20.16.0/bin TZ=GMT @reboot cd /mydirectory && ....
Eduardo Wada's user avatar
1 vote
1 answer
138 views

Operating System: Ubuntu 24.04.2 LTS Created a Cron job as a test to start a script (sh) file. * * * * * /usr/local/bin/test.sh The test.sh file should copy a file from a folder (/home/testuser/...
user2178599's user avatar
0 votes
0 answers
93 views

I've been using Sunwait flawlessly for several years on Ubuntu 18.04 32 bit but since installing Ubuntu 20.04 64 bit I can't make it work. I'm sure it's an installation issue but I'm a user, not a ...
Brian Marshall's user avatar
0 votes
0 answers
83 views

I have a Python script I want to run every lets say 5 hours with crontab. The way I do it manually is: cd /path/to/script >python3 script.py After that I must pick between a few option, lets say 1-...
wandam's user avatar
  • 3
0 votes
0 answers
151 views

I have a script I'm trying to run on restart. This is in Ubuntu 24.04 (VM in Proxmox). I can manually execute the script without any issue. I have set it up via sudo crontab -e with this basic ...
tullnd's user avatar
  • 1
1 vote
2 answers
2k views

I'm reading that using cron for scheduled and repeated tasks could be a safety risk. Moreover, some other systems are deprecating it... Now, in the minimized server version of UBUNTU 24.04.1 LTS, it ...
Hristo's user avatar
  • 85
0 votes
0 answers
263 views

I have an issue : I add inside /etc/profile.d/proxy : export http_proxy=http://IP:80/ export https_proxy=http://IP:80/ export ftp_proxy=http://IP:80/ export no_proxy="localhost,127.0.0.1,...
Hab's user avatar
  • 9

15 30 50 per page
1
2 3 4 5
150