How many of us have it happened that we need to run a script every so often, or every certain day, and we get entangled with it crontab?
Well, if this is your case, some time ago I made this cheat sheet that will help us better understand how it works. crontab, so that it will be easier to schedule the execution of our scripts. Enjoy!
Very good! Thanks 🙂
Ohh! thank you very much, very helpful!
Very useful and practical, thank you very much!
To favorites that I always forget xD
HAHAHAHA 😀
🙁 I wish I could understand this kind of information. Does anyone know of "Linux Scripts for Dummies" ?, heh heh.
Hahaha let's see what we can do 😀
In ASCII
minutes [0-59]
| hours [0-23]
| | day of the month [1-31]
| | | month [1-12]
| | | | day of the week [0-6, 0 = Sunday]
| | | | | command
00 16 * * * /home/user/script.sh
Nice !!!
Ohhh, sorry for the previous comment, I suspected it might happen, but who knew? It was the same idea of the original entry but only with ASCII characters, I like the idea of having it all in text and not depending on images even when it says that an image is worth a thousand words.
No problem, you just missed the user who runs the script 😀
The problem is that the tabs are not seen and everything is stacked (I don't know how to translate it including the necessary tabs and spaces) and yes, I was missing the user who executes the script, could you fix it?
Sorry for the number of responses, this is what it should look like:
http://i50.tinypic.com/13z2yab.gif
Clarify that the day of the week field can be separated by commas, for example:
0 6 * * 0,3 root /root/script.sh
In this case the command will run on Sunday and Wednesday at 6 am
Very similar to this post http://linuxconfig.org/linux-cron-guide
Very useful and I have been breaking my head with crontab, grace! 🙂
Impressive, besides being very visual it serves a lot. Very good
OffTopic:
what is chop ??? Here in chile chuleta is a cut of pork that can be roasted, grilled, French-style added and my favorite the kayser, uff, English-style breaded cutlet stuffed with cheese !! hahaha greetings and thanks for the info
Hahahaha, here a chop is almost the same hahaha ...
HAHAHA yes, this is also a chop.
Well ... chop is also called in other countries that piece / piece of paper that gets us out of trouble at a certain time.
chop = goat = fix = the piece of paper that many hide in their belt, watch, pants, shirt, shoes etc when they go to an exam at school… What a shame! I never did that !!!… .ehem…. ¬¬
Here the piece of paper is called TORPEDO hahaha I never took my red ones off with my forehead held high hahaha greetings
It was perfect for you, I never get tired of consulting it!
+1
… Excellent… <º
Very good! This format (graphic and text as well), can it be extended to any command?
I never tire of learning from this community.
Luck!
you're a jenio ... and yes, i wrote Jenio, with J for FUCKING genius
It would be very good to insert a line below with an example of how to configure a task in the conf file.
Thank you