Good morning all,
read several posts that this can't be done, but maybe someone has accomplished anyway.
What I need is to launch a script on the First Saturday of every month and two days before. For example first Saturday of December 2023 will happen on the second, I'd like my script to be...
Hi.
I have been working with crontab to schedule jobs. I usually run crontab -l (to list the jobs) or crontab -e (to edit them). Always bearing in mind each user.
I also have found the following directories:
/etc/anacrontab
/etc/cron.d
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly...
I have a script to mount 2 network drives that work perfectly from the terminal using "sudo sh MntPD". This is the content of the MntPD file:
#!/bin/bash
sudo mount.cifs //10.0.0.2/drobo5n2/VideoMedia /media/plexdata -o vers=2.0,username=USERNAME,password=PASSWORD,noperm
sudo mount.cifs...
Hello, I wasn't sure if this is the right forum. Here is the question
Having 2 schedules set:
1. Cron running every 8am
0 8 * * * myCronJob.sh
2. Fcron running every 61 minutes:
@1h1 myFcronJob.sh
They will eventually bump into each other and it will not work because only one job can be run at...
Hey :)
I have a Gameserver on Linux and want to backup something every 3 hours.
A friends said, that I can use a Shellcommand with my Crontab file.
Now there is this in the crontab:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to...
Hello,
I use a dummy script at '/bin/rdshft.bash' for a single shot applying of 'redshift' command with its options, the content of the command 'rdshft.bash' is:
#!/bin/bash
redshift -v -P -l 28.00:78.00 -t 3200:2400
So, yesterday I decided to add the 'rdshft.bash' to the crontab for automatic...
I try to edit the crontab file to create con jobs by using ssh "sudo crontab -e" and "crontab -e", but I keep getting the following error message (or as shown in the image below):
And the file path location "/var/spool/cron/crontabs/" folder is empty. Shouldn't there be a cron file of some...
Hi there
I am pretty new in the Linux world. I am just setting up a MySQL Database and now I want to create an automatic backup job for all the databases.
I'm using the following script to create the backup:
#!/bin/bash
DATE=$(date +%d%m%Y-%H)
mysqldump -u backupuser -p'12345'...
Hi all,
I'm not really sure where this question should go. I'm not even sure if it's a Linux issue or a Python issue.
I've written a Raspberry Pi application (Ubuntu Mate) that's essentially a timed camera. Every 30 seconds, it snaps an image and writes it to disk.
When I start the...
Hi guys, I would say I'm a very n00 n00b to linux in general and I'm currently scratching my head rather vigorously (and have been for the last 3 hours) about crontab.
Here's my setup (probably completely irrelevant but hey):
I have an old desktop PC (a box with a brain) whose sole purpose is...