strtotime('first day of today')-432000
strtotime('last month -4 day')
<textarea style="white-space:nowrap">
(or "white-space: pre")
Not всё ;)
Databases too? 🤪
https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B5%D0%B4%D1%81%D0%B5%D0%B4%D0%B0%D1%82%D0%B5%D0%BB%D1%8C_%D0%A4%D0%B5%D0%B4%D0%B5%D1%80%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B9_%D1%80%D0%B5%D0%B7%D0%B5%D1%80%D0%B2%D0%BD%D0%BE%D0%B9_%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D1%8B
https://api.jquery.com/visible-selector/
It runs all tasks in parallel and waits until all tasks will completed.
exec("php script.php > /dev/null 2>/dev/null &");
Wrong. What about tasks overlapping?
You can create simple shell script to do that (for example, this will run 10 instances of script.php in parallel):
#!/bin/bashfor i in $(seq 0 9); do (php -f script.php >&2 & wait %1; echo $?) &done | grep -qv 0 && echo "Script failed!"
Then, add this script to your cron schedule
/ru/forum/945006---------- Добавлено 26.01.2017 в 22:40 ----------
Beginning with Chrome 56, certificates issued by WoSign and StartCom after October 21, 2016 00:00:00 UTC will not be trusted.
https://security.googleblog.com/2016/10/distrusting-wosign-and-startcom.html