Linux Tip | How to Schedule Tasks with Anacron

preview_player
Показать описание
I show you how to add periodic automated tasks to anacron.

Рекомендации по теме
Комментарии
Автор

I just don't get it how this channel only has 35k subscribers.

xxx
Автор

Thanks for another great video Joe. I hadn't heard of anacron yet so I paused the play and checked out the man page and it doesn't say a thing regarding set -e. That's a surprise. Thanks again Joe.

KevinBReynolds
Автор

Joe, this was so help full to me. I have on an old Asus system that I have to defrag all the time. I can now defrag this system with out having to remember to do it. Thanks again I
really enjoy your video's.

keithoakes
Автор

Thanks for this very informative video.

spoilerkiller
Автор

I wonder how many viewers' Google Assistants you've woken up when you said "Ok, Google Chrome". Mine went on to give me info about Kroger Grocery store.

TedInATL
Автор

In anacrontab file I have a line to specify a time period when I want it to operate
START_HOURS_RANGE=8-22
this means operate between 8am and 10pm

MoreChannelNoise
Автор

Nice vid, also you can do chmod +x *.sh as it saves time and also good for if you have multiple scripts, ps i always name my scripts .sh (at the end) else you cant do the wildcards! shame anacron dont allow . :/

Автор

I know that I can change the shell to bash in cron. Can I do that in anacron?

kahlschlag
Автор

i am looking at doing a task every 2 weeks, i want to use anacron because my computer isn't always on but the steps for anacron are either weekly or monthly, so how to do that? i thought about making a script that would execute weekly and in the script just using a bool to check if it was 1 or 2 ( but is there a simpler way using only anacron )., .?

StephenPhantom
Автор

Is there a chance of corrupting the file system if I run a scheduled backup in anacron and shutdown the computer during the process. Since there is no terminal output there is quite a high chance of that happening. Does anacron complete or otherwise safely handle the unfinished backup on the next reboot or does it just start a new job. In the case of e4defrag I am a bit worried that powering the system of during a defrag could corrupt the filesystem.

kahlschlag
Автор

Thanks for uploading this. Very informative indeed. I do however have a question. Say I have scheduled a postgreSQL backup to run daily but open my pc a month later, would that mean that anacron runs the backup 4 times or would it just execute the last backup request?

kahlschlag
Автор

Super like. Thanks a lot. Do I need another package like cronie to make use of anacron?! I use linuxmint

MichealG
Автор

Is there a Programm out there by which I can Start Scripts every Easter-Monday or every third Monday a Month?
Thanks,

JPRuehmann
Автор

What is the meaning of 'ana'cron can you please tell me? What is that ana? Is it "An a" !! Please let me know. Thank you

saiprakash
Автор

i am gonnan get back to talk about 0anacron ; a few minitues later ; don't touch the 0anacron file that's it . (really man!!!!) good video though !!

damejelyas
Автор

Why do I keep seeing these Joe Collins things popping up lately? Duh, doofus, you're subscribed to Joe Collins channel. Hmm...

brobrian