Thank you Jay! Your videos are always so intuitive. I don't know if you get told this enough, but you have a real gift for teaching. You are a huge help to everyone entering the linux community, and its people like you who help to grow this open source ecosystem by making it more accessible. I have learned a lot from your videos and it happened a lot quicker than I thought it would.
The information at around 6:00 is not correct. If dow and dom are specified and don't start with a *, the fields are OR-combined, so the command will run at the 15th of August and at every Friday in August, not only on those 15th of August which happen to fall on a Friday. man 5 crontab says: Note: The day of a command's execution can be specified by two fields - day of month, and day of week. If both fields are restricted (i.e., don't start with *), the command will be run when either field matches the current time. For example, ``30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday. One can, however, achieve the desired result by adding a test to the com‐ mand (see the last example in EXAMPLE CRON FILE below). And D.C.s comment about 6:30 is correct, too, but I guess that was a mistake of attention, not information.
Thank you very much. I just need to schedule a single task: for oncers like this, graphic front ends are useful, but I can't find one. This video makes me feel comfortable about going back to where I started, editing text files. This video is very clear and confidence inspiring.
I do use cron under user account. There are number of tasks which I need to do only in my home directory. And thanks a lot for @reboot and @hourly tips. I didn't know that.
A quick mention on how to set a cronjob every X amount of hours (i.e 0 */4 * * *) would have been great, as beginners might think that this is not possible.
@6:27 -- Regarding: 11 AM If you set your job for: * 11 * * * echo "hello world" Will the above run once, at the click of 11 AM? Or, will the job run every minute, from 11:00 - 11:59? To have the job run once, at only 11:00, would the entry need to be the following?: 0 11 * * * echo "hello world" Thank you.
Ok. Noob time. Running Ubuntu 20.04 in WSL - found I had to start the CRON service for CRON jobs to run. Makes sense I guess - but just sayin ... for any other noobs out there like me. Guessing that would be pretty much universal - yeah? Thinkin' you can config the service to autostart ... back down the rabbit hole!
Another issue you didn't cover: it might be anacron rather than cron. I back up using a script I placed in /etc/cron.daily. No editing of a crontab. Just insert the backup script, and cron/anacron will execute it along with every other script in that directory. There are also cron.hourly, cron.weekly and cron.monthly directories.
Hi Jay I'm able to execute a py script via the interpreter and terminal but it just won't run in Cron (be it root or user) even with absolute paths :-(
its so crazy to me that there are no tutorials on how to execute a python script with a cron job. If anyone knows of any tutorials. it would be greatly appreciated.
I want to run a batch-job of freefilesync after reboot. I used this command but it doenst work: DISPLAY=:0.0 @reboot /usr/bin/FreeFileSync /home/username/Schreibtisch/Testbatch.ffs_batch where is my mistake?
Thank you Jay! Your videos are always so intuitive. I don't know if you get told this enough, but you have a real gift for teaching. You are a huge help to everyone entering the linux community, and its people like you who help to grow this open source ecosystem by making it more accessible. I have learned a lot from your videos and it happened a lot quicker than I thought it would.
The information at around 6:00 is not correct. If dow and dom are specified and don't start with a *, the fields are OR-combined, so the command will run at the 15th of August and at every Friday in August, not only on those 15th of August which happen to fall on a Friday.
man 5 crontab says: Note: The day of a command's execution can be specified by two fields - day of month, and day of week. If both fields are restricted (i.e., don't start with *), the command will be run
when either field matches the current time. For example,
``30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month,
plus every Friday. One can, however, achieve the desired result by adding a test to the com‐
mand (see the last example in EXAMPLE CRON FILE below).
And D.C.s comment about 6:30 is correct, too, but I guess that was a mistake of attention, not information.
This video explained so much about scripts running at various times.
6:30 "* 11 * * *" = every minute of the 11th hour, not "at 11am." That would be "0 11 * * *"
yep
Cron is a great tool, has been since the 70's when it came out on Unix V6. I'm glad it's still around.
Hi Larry,
Lucky you were around Unix in the 70's!
😃😘👍
Awesome video about Cron. Jay - You're awesome. Terrific. I love this channel almost as much, as I love Interstellar (2014).
actually, your whole course is really helping I'm not following all of it but when I search for any topic I feel safe when I find your vids :"D
I can't thank you enough for this channel.
same
@@blahblahlaboratory9381double same😅
Triple same@@superhighmind
@@Revanth2344 !!??
I like the editing style and thanks Jay.
Cron is possibly the best feature in the Linux ecosystem.
windows has something similar
@@jonneymendoza yeah task scheduler is not bad
This was a great video! Nicely done and very informative!
Great job! I believe that editing /etc/crontab is best practice on servers. That way you can see all jobs in one place.
Awesome video! I have so many ideas for this. Thanks for the great tutorial.
Thanks again for another great video. I have learned so much watching your channel.
Thank you very much. I just need to schedule a single task: for oncers like this, graphic front ends are useful, but I can't find one. This video makes me feel comfortable about going back to where I started, editing text files. This video is very clear and confidence inspiring.
Loving the new intro and thumbnails!
You are doing a great job sir. Keep serving the society.
I do use cron under user account. There are number of tasks which I need to do only in my home directory.
And thanks a lot for @reboot and @hourly tips. I didn't know that.
A quick mention on how to set a cronjob every X amount of hours (i.e 0 */4 * * *) would have been great, as beginners might think that this is not possible.
Ty
You talk at Mach 1.5. Its worth being more deliberate so new people can follow. Thx for the grt video.
Great editing...keeps the focus on, great work
I don't know it's you or TH-cam but I'm really thankful for the Arabic translation
You're a great explainer Jay. Thank you.
Excellent. You make it crystal clear.
Very well explained even for the person who never used the cron.. thanks..
Your all videos are Awesome. Thank you very much Sir. 😇
Man, you have so many cool videos!
@6:27 -- Regarding: 11 AM
If you set your job for:
* 11 * * * echo "hello world"
Will the above run once, at the click of 11 AM?
Or, will the job run every minute, from 11:00 - 11:59?
To have the job run once, at only 11:00, would the entry need to be the following?:
0 11 * * * echo "hello world"
Thank you.
Great job, Jay.
Thanks for sharing the knowledge, this seems like something very very useful.
the cron job with the echo "hello world" didn't do anything
Amazing video, great explanation.
thank you
So if I use @daily, what time will it run? Is there a way to set the daily time?
The AT command is like a "one shot" cron job.
Thanks Jay, great explanation!
Great video, are you going to do a video on systemd timer?
Just what I was looking for…thanks!
Thank you. This was *very* helpful.
Stunning work!
If testing with echo, you need to pipe it to wall (“ echo ‘hello’ | wall “) or you won’t see it.
your screen on the machine in the background is nice...how do set or get one for my pc...
thanks it helps me solve my problem
14:43 so I dont need to add bash command (bash ~/Documents/blah/blah.sh) as a user?
fantastic video
OMG I never have to do a Guix Pull myself again!
"cron jobs" just sounds so funny
Nice video man 🙃, thanks
GREAT VIDEO!!!
Ok. Noob time. Running Ubuntu 20.04 in WSL - found I had to start the CRON service for CRON jobs to run. Makes sense I guess - but just sayin ... for any other noobs out there like me. Guessing that would be pretty much universal - yeah? Thinkin' you can config the service to autostart ... back down the rabbit hole!
I do everything manually (even executing cpu instructions)
What if you want to run the command every 5 minutes? What would the syntax be for that?
*/5 * * * *
Sorry, just saw this (2 months late)
I think it's interesting your using Cron on Pop Os. Because I don't think Cron is installed by default on Pop Os.
great explanation, Thanks
Thanks for this tutorial.
Thank you Man, very helpfull .
Nice video mate --> * * * * * sudo subscribed
Fantastic!!! big thanks :)
clean and understandable
Good One easy understanding.
Another issue you didn't cover: it might be anacron rather than cron. I back up using a script I placed in /etc/cron.daily. No editing of a crontab. Just insert the backup script, and cron/anacron will execute it along with every other script in that directory. There are also cron.hourly, cron.weekly and cron.monthly directories.
Nice job so helpful
Thanks so much!
love this video
Super thanks.
how did you know about august 15th ?
Thanks man
Hi Jay I'm able to execute a py script via the interpreter and terminal but it just won't run in Cron (be it root or user) even with absolute paths :-(
Can you do scp or rsync using cron please
its so crazy to me that there are no tutorials on how to execute a python script with a cron job. If anyone knows of any tutorials. it would be greatly appreciated.
I can't find this command on Arch Linux.
I want to run a batch-job of freefilesync after reboot. I used this command but it doenst work:
DISPLAY=:0.0 @reboot /usr/bin/FreeFileSync /home/username/Schreibtisch/Testbatch.ffs_batch
where is my mistake?
Thank you.
thank you
i now understand CRON
show what it looks like when you save it damn it
When you crontab -r on production server accidentally 😅😅😅😅
Hey
5:38 India in 1947 be like
Vidmate apk
First