apt-get install get
GET ya.ru
DELETE FROM `session` WHERE `time` <= UNIX_TIMESTAMP() - 86400
>SHOW EVENTS
Db: base
Name: delete_old_session
Definer: root@localhost
Time zone: SYSTEM
Type: RECURRING
Execute at: NULL
Interval value: 1
Interval field: DAY
Starts: 2017-04-06 10:58:44
Ends: NULL
Status: ENABLED
Originator: 0
character_set_client: utf8mb4
collation_connection: utf8mb4_unicode_ci
Database Collation: utf8_general_ci
>SHOW PROCESSLIST
Id: 45687
User: event_scheduler
Host: localhost
db: NULL
Command: Daemon
Time: 2701
State: Waiting for next activation
Info: NULL
Id: 46218
User: phpmyadmin
Host: localhost
db: NULL
Command: Sleep
Time: 0
State:
Info: NULL
Id: 46219
User: root
Host: localhost
db: base
Command: Query
Time: 0
State: starting
Info: SHOW PROCESSLIST
Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/mcedit
3. /usr/bin/vim.basic
4. /usr/bin/vim.tiny
просто из головы выпало, какой. На одном сервере она работает, на другой не установлена.
Если говорите нет, что тогда это такое?