Cron Jobs For Beginners | Linux Task Scheduling

Cron Jobs For Beginners | Linux Task Scheduling

Akamai Developer

3 года назад

222,101 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Tom Somers
Tom Somers - 10.11.2023 19:33

When I try to edit after inputting crontab -e, no Text Editor comes up. I see the code in something called LXTerminal. How do I edit from here? My Raspberry Pi has a Text Editor. Do I have to copy and paste it into that? Or maybe it IS open in some Editor and I just have to figure out which one and what the commands are? Thanks!

Ответить
Aaron 艾哲思
Aaron 艾哲思 - 21.07.2023 05:03

is that a uPerfect portable monitor. I think I have the same one

Ответить
Radha Madhav Krishna
Radha Madhav Krishna - 13.06.2023 11:26

.

Ответить
DareDevil
DareDevil - 11.05.2023 14:52

how to create multiple users in linux

Ответить
m d
m d - 08.05.2023 00:21

You have been very helpful to me personally and thank you for making all this videos.

Ответить
Lo Wgn
Lo Wgn - 03.03.2023 15:23

Very simple and very useful !

Ответить
Ms Martin
Ms Martin - 12.02.2023 21:21

Awesome

Ответить
Edris Ranjbar
Edris Ranjbar - 13.01.2023 22:46

it was super helpful

Ответить
Sam Loesser
Sam Loesser - 05.01.2023 13:18

Am I correct that in order to discontinue a cronjob, you delete the line containing it from the crontab file?

Ответить
e00d
e00d - 06.12.2022 16:46

Thanks man, I appreciate you for posting this

Ответить
Stephan C
Stephan C - 02.12.2022 17:15

Great Video as always
Q: IS there an "fairly" easy way to do every second Monday?

Ответить
Manan Shah
Manan Shah - 01.12.2022 03:30

For people in timezones other than UTC, we need to specify the time in UTC in the cron job

Ответить
Licolada
Licolada - 27.11.2022 16:08

there is no /etc/cron on my linux debian
what can I do?

Ответить
Mohammed Ahmed
Mohammed Ahmed - 25.11.2022 11:03

thanks

Ответить
Franco
Franco - 22.11.2022 18:49

I’ve try to use it to run schedule on my Laravel project on Google Cloud service but it doesn’t woks as it looks like it can not run artisan commands or ejecute a bash file.

Ответить
Mohd Danish
Mohd Danish - 11.11.2022 09:16

not working for me dont no why , i am in /home/ubuntu directory then i am writing this command inside editor "39 11 * * * echo "this is a test" > /home/ubuntu/testfile.txt" but it is not executing i dont know why

Ответить
Elchin Mammadov
Elchin Mammadov - 11.11.2022 00:57

you can build your sentences without using "actually" before each word. Its confusing.

Ответить
Mehmed II
Mehmed II - 22.10.2022 15:08

how to know full path for echo command ? how did you know it is /usr/bin/ ? how to know full path for other commands in cronjob? thank you!

Ответить
Morten Lund
Morten Lund - 16.09.2022 15:47

You make all kinds of nice videos. Best of all, you do it alot. Best wises

Ответить
Mian Shazy
Mian Shazy - 06.09.2022 09:35

Awesome Tutorial.

Ответить
Zak
Zak - 04.09.2022 02:04

it was helpful

Ответить
Simran Banwait
Simran Banwait - 31.08.2022 09:25

thankyou sir , amazing video

Ответить
Japhet Kiplagat
Japhet Kiplagat - 29.08.2022 15:29

how to get jobs in crontab linux

Ответить
Zeeshan Humayun
Zeeshan Humayun - 27.08.2022 18:29

This is the best tutorial that I found.

Ответить
robot67
robot67 - 20.08.2022 14:05

Will it complete the job and generate the output file at the given time even when my computer is turned off?

Ответить
MDKVideo
MDKVideo - 01.08.2022 19:53

Learn Linux TV is the man!

Ответить
mpedzi031
mpedzi031 - 26.07.2022 02:18

Thank you so much! Awesome pacing and I really appreciate you going over the flags. Will watch more

Ответить
Ajit Thapa
Ajit Thapa - 25.07.2022 21:18

How can i create something like this in windows docker? Basically I have bunch of task running via a task scheduler , I want them to run inside a docker containers.

Ответить
Tony Lopez
Tony Lopez - 22.06.2022 21:21

Super clean video, very informative.

Ответить
Zoeb Abbas
Zoeb Abbas - 21.06.2022 18:42

crontab trying to execute python files throw 'unable to read file errors' inspite of fixing the env vars.. any pointers.???

Ответить
John Eagle
John Eagle - 05.06.2022 18:29

Thank you. Simple and clear tutorial!

Ответить
Allison V
Allison V - 18.05.2022 21:06

can I remove a cron job?

Ответить
adumred
adumred - 08.05.2022 17:24

# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed

Ответить
Praneet Kumar
Praneet Kumar - 04.05.2022 18:33

Thank you so much for explaining crontab, it's easy to understand, i was wondering is there any gui for crontab?

Ответить
Edmund Kemper
Edmund Kemper - 13.04.2022 09:16

Is it possible to use crontab on Android(rooted,busybox installed phone)

Ответить
Vinícius Henrique
Vinícius Henrique - 04.04.2022 23:24

Thank you very much for this tutorial! I'm slowly becoming a devops with this stuff haha

Ответить
Pablo Cruz
Pablo Cruz - 22.03.2022 02:16

This is great! Could you please show us how to check a log to make sure the job executed correctly?

Ответить
Rafael Salete
Rafael Salete - 10.03.2022 02:06

If you are using WSL (Windows Subsystem for Linux) on Windows machine, by default the cron is stopped. Before use it, you need to start it by ' sudo /etc/init.d/cron start ' after run that, you can check if it's running by ' sudo /etc/init.d/cron status '. Now enjoy the cron!

Ответить
Prasad Ch
Prasad Ch - 02.03.2022 14:41

How to create new cronitor key pls help me.

Ответить
keittomaster
keittomaster - 01.03.2022 23:50

Fantastic video and very helpful. Your calm way of explaining things is great for learning. Thank you sir!

Ответить
Lakerfan4life
Lakerfan4life - 02.02.2022 21:38

Is there a way to run a crontab process every other Sunday? e.g bi-weekly

Ответить
Rômulo de Jesus
Rômulo de Jesus - 31.01.2022 00:40

How can I clean the memory cache?

Ответить
Mathias
Mathias - 06.01.2022 21:29

Linode this is a short tutorial and yet so powerful. thank u mate!

Ответить
Hari Sunkanaboina
Hari Sunkanaboina - 27.12.2021 05:27

Thank you so much for this video until now i have searched so many videos,no one told me like you i got it now....

Ответить
Dylan
Dylan - 13.12.2021 05:07

Before Chill by Yomoti - [Beats Music]
Was used in this video for music

Ответить
MissA
MissA - 08.12.2021 14:56

That was so helpful, thank you so much.. but could you please show us how to send mail from crontab? I used postfix but how can I schedule sending emails by crontab

Ответить
Data Khukhua
Data Khukhua - 22.10.2021 14:15

which one you prefer cron or systemd timers?

Ответить
Nirvana boy
Nirvana boy - 19.10.2021 22:27

This was really helpful, thank you so much !

Ответить
angel Izquierdo
angel Izquierdo - 08.10.2021 13:53

Thanks a lot! Very nicely explained!

Ответить