Это видео недоступно.
Сожалеем об этом.
cPanel beginner tutorial 10 - Cron Jobs
HTML-код
- Опубликовано: 30 ноя 2015
- In this tutorial I show you how to set up a cron job that will run a script on your site every few minute. You can also set cron jobs to run every hour, every day, once a week or once a year.
/* FILE PATHS
THIS WORKS
/usr/local/bin/php -q /home/yourCpanelUsername/public_html/filename.php
DIDNT TRY THIS
/usr/bin/php -q /home/yourCpanelUsername/public_html/filename.php
THIS DIDNT WORK FOR ME
/home/yourCpanelUsername/public_html/filename.php
*/
Playlist description
---------------------
In this tutorial series we'll be learning how use the everyday tasks a web developer or webmaster needs to know. These tasks include managing files, MySQL databases, email accounts and more.
Links
---------------------
Visit this tutorial on my website: www.jozituts.com/
Follow Jozituts on social media:
facebook: / jozituts
twitter: / jozituts
youtube: / jozituts
Follow my personal social media pages:
facebook: / quentin.watt
twitter: / quentinwatt
youtube: / quentinwatt
I like this man... Seriously That is the Kind of Tutorial that I need the most.
This entire series has been fantastic. No one else, that I could find anyway, has broken down the web hosting side of things as well as this. Well Done and please keep up the content for beginners! :)
You Guy!!! thank you, your video has really helped me achieve what i wanted thought religiously used it without understanding the use of '-q' in the path because thats what i was missing in my command.
Perfect tutorial series for developers or for whom who want to be... Thanks man🙏
Glad you liked it!
Thankyou so much. this is clear video to archive my task.
nici video. for me it worked only by puting php -f before the path:
php -f/home/CpanelUshername/public_html/script.php
Thank you. Cron jobs are perfect for my podcast network.
I just learned how to automize half of my work
sir i can't create a file in my live server using cron job..
plz help me how do i solve it.?
i want to put file in server as per cron job set by me...
everything i make it but not working how to solve it.. plz.
I liked the video but I have to say, what's up with those clickfarm comments? I think this is the worst I've seen of them and I spend way too much time on RUclips.
Dont go down that path man. Just keep making videos like this and you'll be fine😉
Please
How i can do Cron Jobs per 1 minuet hosgatore hosting ???
I was unable to set a cron job.... the error comes the path name and the
: permission denied
running this simple is the same as running script which has POST method in it?? if they different how can i configure cron job on script which has POST or GET method
Hi, I just started with Magento 2 and it says "One or more indexers are invalid. Make sure your Magento cron job is running." what am I supposed to do?
Great video! thanks
Great video. I have a concern! at my level I want to make a specific function contained in the php file run since there are other functions also in the file. how can I write the command then
Very good tutorial. I'll be doing email next after I figure this out. So I set up a counter script on my site and it's just still not increasing. It increases when I go to the page, but here's the cron job:
/usr/local/bin/php -q /home/zafadadynamic/public_html/testing/testing_cron_counter.php
It's just a no-go. I game it a little time and it just doesn't work. :(
How to run cronjob starts 10am to end 10 pm everyday?
Thanks Bro.......for increase my knowledge about it. Have a long life.
great work can you tell me its working once per minute when i am changing it into once per day and giving custom time it is not working please can you tell .
hlo sir could you please help me automating python script using cron jobs in bluehost cpanel?
Woow....i like this man the kind of tutorial i need
Thanks bro....its works like a charm....
how to see the results after running command?
(error or bugs etc...)
you will have to manually create a log file
Thank you so much mahn... this was greatly helpful....
You're welcome!
What to do if Cron Job is not present in Hosting Panel ??
Thanks Bro. Just deployed a crypto trading bot on on cron jobs!! wahooo . automation
I found the video helpful. Thanks !
I'm beyond confused, how to I access those scripts? I;am clueless I need some help.
Thanks for your great knowledge.
Nice tutorial. Very helpful.
Thank you very much. It saved my time
Great! Worked for me
Thank you very much for this great tutorial.....:)
Cool tutorial man
Thanks for this great tutorial. SendGod!
Thanks!
Hi, its working thank you so much.
What does the -q do?
Thanks for this!
Very informative
very good tutorial
thanks!
Nice video... it would be great if you make a 2020 version video for this.
Noted!
Thanks... This worked.... :)
Thanks really useful,!
Very thanks bro
thx man
/usr/local/bin/php -q /home/tnjcoalp/public_html/quick/cron_job/index.php this is not working for me. Mine also have to update the database. I am using cpanel 56.0.18, probably the latest. Need help.
Contact your hosting provider. Maybe there is a slight mistake in the file path that they can help you with.
good vid.. thanks
thank you so much
For me worked like this:
php /home/user/public_html/trackname.php >/dev/null 2>&1
P.S. You can set cron jobs for less than one minute. Oh, well. There is a workaround for this.
Do 2 PHP functions and inside each other set an if clause for which you set a counter.
Then execute the second function from the first one and the first function from the second one.
When the if clause not met (if x < y for example) exit() the function.
Then set sleep() for every few seconds you want.
For example, set the if clause to 10 and sleep() to 6. If x is not < y then it exit(), else, it executes the if content.
Note: That PHP will run on background on that period of time. Better set the cronjob to one minute and the PHP as I sad rather than set the cronjob to one hour for example, and set the if clause to 600 (for one hour). You'll run into timeout.
very helpful
Thanks a lot
Thanks a lot :-)
awesome
This is good
Sir how to call automatically api call using cron job in laravel
lmgtfy.com/?q=how+to+set+up+a+cron+in+laravel
Thank You.................... :D
05:01 maybe this will wor......give executable permission to your php script and
use the below line into your top of the php script
#!/usr/local/bin/php -q
You can set cron jobs for less than one minute
Skip the blurb, starts at 2:22
Good
thanks :)
Thanks
YAYAYAYAY
Not certain about the points made but ,if anyone else trying to find out how to learn ukulele try Cypouris Amazing Uke Coach ( search on google ) ? Ive heard some pretty good things about it and my colleague got amazing success with it.
interesting points ,if anyone else wants to discover how do you treat psoriasis try Nadazma Awesome Psoriasis Helper (Have a quick look on google cant remember the place now ) ? Ive heard some interesting things about it and my friend got great success with it.
interesting points ,if anyone else wants to learn about ukulele lessons online try Nadazma Ultra Uke Helper (do a google search ) ? Ive heard some interesting things about it and my m8 got great success with it.
I like this man... Seriously That is the Kind of Tutorial that I need the most.
Thank you Ande 🙌
Nice tutorial. Very helpful.
I like this man... Seriously That is the Kind of Tutorial that I need the most.
Copy paste?