barantaran
2/23/2017 - 8:08 AM

TTL for sprut (?)

#crontab
0 16 28 2 * 	mysql -h<db_host> -u<db_user> -p<****> -e'\
            	UPDATE front_page SET active = 0 WHERE frontpage_id=<id_страницы_с_видосами>;\
		UPDATE front_page SET active = 1 WHERE frontpage_id=<id_страницы_с_анонсом>;'