This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sermn_wiki:userpages:marta:reserves_automatiques_manteniment_2022 [2022/08/22 10:42] miquel [maintenance_bookings.sh] |
sermn_wiki:userpages:marta:reserves_automatiques_manteniment_2022 [2022/08/23 19:57] (current) miquel [Dateutils] |
||
---|---|---|---|
Line 6: | Line 6: | ||
**IMPORTANT: | **IMPORTANT: | ||
+ | |||
+ | ===== Instal·lar el paquet " | ||
+ | |||
+ | Instal·lo el paquet '' | ||
+ | |||
+ | < | ||
+ | $ sudo apt install dateutils | ||
+ | [sudo] password for sermnadmin: ****** | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | The following NEW packages will be installed: | ||
+ | dateutils | ||
+ | 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. | ||
+ | Need to get 217 kB of archives. | ||
+ | After this operation, 1,555 kB of additional disk space will be used. | ||
+ | Get:1 http:// | ||
+ | Fetched 217 kB in 0s (586 kB/s) | ||
+ | Selecting previously unselected package dateutils. | ||
+ | (Reading database ... 253630 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking dateutils (0.4.3-1) ... | ||
+ | Setting up dateutils (0.4.3-1) ... | ||
+ | Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ... | ||
+ | Processing triggers for man-db (2.8.5-2) ... | ||
+ | </ | ||
Line 229: | Line 255: | ||
===== Documentació ===== | ===== Documentació ===== | ||
- | | + | ==== BASH date math ==== |
+ | |||
+ | | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ==== BASH modulus operator ==== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ==== Debugging BASH ==== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ==== Dateutils ==== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ==== Cron ==== | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
* cron | Getting crontab events that would happen given a start date/time - Unix & Linux Stack Exchange.]] | * cron | Getting crontab events that would happen given a start date/time - Unix & Linux Stack Exchange.]] | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | |||