Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
1. Execute JS from PHP: php.net/manual/ru/book.v8js.php
2. www.nightmarejs.org phantomjs.org
You can install Node.js
on the server , and run externally from PHP through some exec()nodejs script.js
No, cron can't execute javascript.
You can try cron launching a browser that will open a page that will be opened from a web server that will execute php. Then it will be possible to nail this browser using the same crown.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question