LOL, Jay idk if you go back or have alerts for older videos, but I sure hope you see this. I am laughing right now because I caught myself "auto clicking" the thumbs up button. I have been catching up on some of your vids from earlier this year and the first thing I always seem to do is click the thumb as the video is starting. Great work at brainwashing me to like awesome content.
Do cron jobs wake up the computer and run when the computer was asleep or would I need to use something else to wake the machine up in time to run the job?
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!
not sure if you are able to help. I have a website on this server that is currently working. I tried using a Flask-AP scheduler which did not work. I know the function works, because I can manually call it in the admin page. The AP Scheduler works when I run it on a local server. But production mode does not work. I am trying to see if this cronjob is a good alternative. I have a python file that can call the function to update the necessary things I need. Not sure how to set up cron job to execute that python file. The file is with the rest of the webApp. Please help!!
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.
Great question! If you have the crons set to run at the same time, that's what they will do. Here's a Stack Overflow article that discusses this: stackoverflow.com/questions/36900886/multiple-cronjobs-at-the-same-time#:~:text=Yes%2C%20cronjobs%20can%20run%20at,set%20them%20up%20that%20way.
Both are launched concurrently. By the way, there is intentional jitter of some seconds from the actual launch time. It could be on the exact transition to the time, or a couple of seconds late.
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.
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
It's possible to dynamically add and remove cron job from application like web application without too much complexity like CLI or API? or is there any alternative solution?
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
Lmao. Is it coincidence that I come across this post from 6 months ago just as I read a reddit post about somebody doing this exact thing 6 months ago?
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!