sudo <ваш_любимый редактор> /etc/crontab
. Через sudo crontab вы будете править задания рута, а не системную таблицу.* */2 * * * root /полный/путь/indextr --all --rotate
<?xml version="1.0" encoding="utf-8"?>
<ymaps xmlns="http://maps.yandex.ru/ymaps/1.x" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://maps.yandex.ru/business/1.x http://maps.yandex.ru/schemas/business/1.x/business.xsd http://maps.yandex.ru/geocoder/1.x http://maps.yandex.ru/schemas/geocoder/1.x/geocoder.xsd http://maps.yandex.ru/psearch/1.x http://maps.yandex.ru/schemas/psearch/1.x/psearch.xsd http://maps.yandex.ru/search/1.x http://maps.yandex.ru/schemas/search/1.x/search.xsd http://maps.yandex.ru/web/1.x http://maps.yandex.ru/schemas/web/1.x/web.xsd http://maps.yandex.ru/search/internal/1.x http://maps.yandex.ru/schemas/search/internal/1.x/internal.xsd">
<GeoObjectCollection>
<metaDataProperty xmlns="http://www.opengis.net/gml">
<GeocoderResponseMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
<request>27.525773,53.89079</request>
<found>8</found>
<results>10</results>
<Point xmlns="http://www.opengis.net/gml">
<pos>27.525773 53.890790</pos>
</Point>
</GeocoderResponseMetaData>
</metaDataProperty>
<featureMember xmlns="http://www.opengis.net/gml">
<GeoObject xmlns="http://maps.yandex.ru/ymaps/1.x" xmlns:gml="http://www.opengis.net/gml" gml:id="1">
<metaDataProperty xmlns="http://www.opengis.net/gml">
<GeocoderMetaData xmlns="http://maps.yandex.ru/geocoder/1.x">
<kind>house</kind>
<text>Беларусь, Минск, проспект Дзержинского, 5</text>
<precision>exact</precision>
<Address xmlns="http://maps.yandex.ru/address/1.x">
<country_code>BY</country_code>
<formatted>Беларусь, Минск, проспект Дзержинского, 5</formatted>
<Component>
<kind>country</kind>
<name>Беларусь</name>
</Component>
<Component>
<kind>province</kind>
<name>Минск</name>
</Component>
<Component>
<kind>locality</kind>
<name>Минск</name>
</Component>
<Component>
<kind>street</kind>
<name>проспект Дзержинского</name>
</Component>
<Component>
<kind>house</kind>
<name>5</name>
</Component>
</Address>
<AddressDetails xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<AddressLine>Беларусь, Минск, проспект Дзержинского, 5</AddressLine>
<CountryNameCode>BY</CountryNameCode>
<CountryName>Беларусь</CountryName>
<AdministrativeArea>
<AdministrativeAreaName>Минск</AdministrativeAreaName>
<Locality>
<LocalityName>Минск</LocalityName>
<Thoroughfare>
<ThoroughfareName>проспект Дзержинского</ThoroughfareName>
<Premise>
<PremiseNumber>5</PremiseNumber>
</Premise>
</Thoroughfare>
</Locality>
</AdministrativeArea>
</Country>
</AddressDetails>
</GeocoderMetaData>
</metaDataProperty>
<description xmlns="http://www.opengis.net/gml">Минск, Беларусь</description>
<name xmlns="http://www.opengis.net/gml">проспект Дзержинского, 5</name>
<boundedBy xmlns="http://www.opengis.net/gml">
<Envelope>
<lowerCorner>27.521461 53.888266</lowerCorner>
<upperCorner>27.529671 53.893116</upperCorner>
</Envelope>
</boundedBy>
<Point xmlns="http://www.opengis.net/gml">
<pos>27.525566 53.890691</pos>
</Point>
</GeoObject>
</featureMember>
...
Ещё пачка featureMember
...
</GeoObjectCollection>
</ymaps>
v1 = 0;
v2 = 2;
v3 = 4;
v4 = 1;
// Упаковка
v_bit = ((v4 & 0x7) << 9) | ((v3 & 0x7) << 6) | ((v2 & 0x7) << 3) | (v1 & 0x7);
v_pack = v4 * 125 + v3 * 25 + v2 * 5 + v1;
// Распаковка
v4 = (v_bit >> 9) & 0x7;
v3 = (v_bit >> 6) & 0x7;
v2 = (v_bit >> 3) & 0x7;
v1 = v_bit & 0x7;
v4 = (v_pack / 125) % 5;
v3 = (v_pack / 25) % 5;
v2 = (v_pack / 5) % 5;
v1 = v_pack % 5;
mysqld --initialize-insecure --console
smbd -b