DEV Community

This article has 61 positive reactions and 24 comments

Malte Riechmann on June 04, 2021

TL;DR Using the DEV API the title of this article gets automatically updated every 60 seconds. Addicted to numbers I started...
Collapse
 
natalia_asteria profile image
Natalia Asteria

Tom Scott...

Collapse
 
codereviewpad profile image
Reviewpad

Haha, totally.

Collapse
 
malteriechmann profile image
Malte Riechmann

What about him?

Collapse
 
janschill profile image
Jan Schill
Thread Thread
 
janschill profile image
Jan Schill

You even have it in your Inspiration section, haha oops

Thread Thread
 
malteriechmann profile image
Malte Riechmann

Yes, I am totally aware of Tom Scott and his awesome video. That is why I put it into my article.

Thanks for making it clear ✌️

Collapse
 
hasnaindev profile image
Muhammad Hasnain

Haha, yeah. But his one's are actually stuck, right?

Collapse
 
natalia_asteria profile image
Natalia Asteria

Not sure.

Collapse
 
hasnaindev profile image
Muhammad Hasnain

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!

Collapse
 
nilamo profile image
Alex Winfield

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.

Collapse
 
hasnaindev profile image
Muhammad Hasnain

Thank you Alex!

Collapse
 
sarmd23 profile image
Sarmad

Oh good

Collapse
 
malteriechmann profile image
Malte Riechmann

👍

Collapse
 
sebastiandg7 profile image
Sebastián Duque G

I'm here just to make my comment count!

Collapse
 
malteriechmann profile image
Malte Riechmann

Well, it counts.

Collapse
 
felixdorn profile image
Félix Dorn

Gotta test if it still works :)

Collapse
 
malteriechmann profile image
Malte Riechmann

Still looks good. Thanks for testing.

Collapse
 
shrn profile image
Sharan J

<3

Collapse
 
malteriechmann profile image
Malte Riechmann

<3

Collapse
 
christiankozalla profile image
Christian Kozalla

Nice, very impressive! I like to test this with comments =)

Collapse
 
malteriechmann profile image
Malte Riechmann

Thanks for testing. It seems to work.

Collapse
 
sm0ke profile image
Sm0ke

Hacky & creative ... Nice

Collapse
 
malteriechmann profile image
Malte Riechmann

Thank you, Sm0ke.

Collapse
 
yamen profile image
Yamen Hadla

comment number 24 :D