Could you please tell me how you run a cronjob in PHP? JavaScript is easy, you run an app and it is like a software. PHP runs only when a user or some external event hits an endpoint to trigger all the code? Please, correct me if I'm wrong. Thanks!
phpcli is bundled and enabled by default with all php installations, allowing php files to be executed via the command line just like any other interpreted language, and thus can be added to a crontab.
Tom Scott...
Haha, totally.
Haha, yeah. But his one's are actually stuck, right?
Not sure.
What about him?
youtu.be/BxV14h0kFs0
Could you please tell me how you run a cronjob in PHP? JavaScript is easy, you run an app and it is like a software. PHP runs only when a user or some external event hits an endpoint to trigger all the code? Please, correct me if I'm wrong. Thanks!
phpcli is bundled and enabled by default with all php installations, allowing php files to be executed via the command line just like any other interpreted language, and thus can be added to a crontab.
Thank you Alex!
Hacky & creative ... Nice
Thank you, Sm0ke.
I'm here just to make my comment count!
Well, it counts.
Oh good
👍
Nice, very impressive! I like to test this with comments =)
Thanks for testing. It seems to work.
<3
<3
Still looks good. Thanks for testing.
comment number 24 :D