Commit graph

37 commits

Author SHA1 Message Date
pezcurrel
758e570794 All values coming from “date” are now correctly converted to integers 2024-09-08 20:29:29 +02:00
pezcurrel
6b3a9bacef Changed the logic deciding the gracetime; minor changes 2024-08-25 10:22:42 +02:00
pezcurrel
40ceb04d2e Removes “.forceresurr” at the end, if present 2024-08-22 11:43:40 +02:00
pezcurrel
90bea57faa First commit 2024-07-26 22:17:46 +02:00
pezcurrel
62a3163d5b Added code to delete all but the most recent 10 backups 2024-07-08 21:14:01 +02:00
pezcurrel
af4a0e2aa5 Added mail results code 2024-04-18 08:13:33 +02:00
pezcurrel
76f64fa519 Added the possibility to put a “.forceresurr” file in the main directory to force a run with longer gracetime 2024-02-26 19:22:20 +01:00
pezcurrel
1c1d9fb095 After peerscrawl.php has run, make a copy of peerscrawl.log to peerscrawl.log.old 2024-02-26 17:53:43 +01:00
pezcurrel
f034d57fbc Changed day of the month to run peerscrawl.php with a non-default gracetime of 2 months from the 26th to the 25th; translated the script to english 2024-02-25 08:59:04 +01:00
pezcurrel
6c29f1e24e On first run after 0:0:0 of 26th of month do peerscrawl.php with a 2 months gracetime (it was 1 year, before) 2024-01-02 00:48:06 +01:00
pezcurrel
29919f0867 On 1st of month do crawler.php with a 2 months gracetime (it was 1 year, before); revert to calling mysqldump instead of mariadb-dump 2024-01-02 00:46:37 +01:00
pezcurrel
b124326a88 Added option “--single-transaction” to “mariadb-dump” call 2023-12-31 20:30:34 +01:00
pezcurrel
560db4d69d Renamed “donefp” var to “resurrfp” 2023-12-29 10:01:16 +01:00
pezcurrel
0ed8165a53 Added “fedipact.php” 2023-12-27 16:41:29 +01:00
pezcurrel
a416c53915 Fixed “find+rm” command 2023-12-07 09:21:04 +01:00
pezcurrel
ce5280af47 Use “find -exec” instead of plain “rm” to delete all files in “run/” directory, to avoid hitting kernel ARG_MAX 2023-12-04 16:01:26 +01:00
pezcurrel
f69f2853db Trap more signals; added shutdown function 2023-01-07 12:54:07 +01:00
pezcurrel
0be17601f8 Made it run peerscrawl.php with a gracetime of 1 year once after the 26th of the month; minor changes 2023-01-06 17:08:07 +01:00
pezcurrel
2c66514b37 Made it run crawler.php with a gracetime of 1 year on first of the month; minor changes 2023-01-06 17:06:44 +01:00
pezcurrel
874479fac7 Maintainance script, unifying crawl.bash and backup.bash; first commit 2023-01-05 20:08:13 +01:00
pezcurrel
25fd358666 Commented out “tar” line for “run” dir: took long and wasn’t very useful 2023-01-04 13:40:53 +01:00
pezcurrel
cf158ceb73 Now it makes a tar.xz with “run” directory contents and remove them before running commands 2022-12-28 05:25:56 +01:00
pezcurrel
44f437c928 Translated initial comment, made it more terse 2022-12-26 05:09:09 +01:00
pezcurrel
337eb32f51 Made mail optional, inactive by default 2022-12-25 23:45:31 +01:00
pezcurrel
acde202b2e Made it write summary from crawl run into a log file of its own 2022-12-25 18:40:21 +01:00
pezcurrel
ba171bd5f2 Use specifically bash since we use &> redirect 2022-12-25 11:43:30 +01:00
pezcurrel
ec9b65e42f Little script to run peerscrawl.php in loop; first commit 2022-12-25 11:32:49 +01:00
pezcurrel
d6b77b0e29 Removed option “-p peers” from crawler cmdline because now peerscrawl directly writes new instances into the db 2022-12-24 08:59:33 +01:00
pezcurrel
f269bb901d Little cosmetic change 2022-12-18 07:00:49 +01:00
pezcurrel
5c605cbe5b Some little cosmetic (readability of log files) changes 2022-12-17 18:40:22 +01:00
pezcurrel
2571396253 Tuned to recent changes in crawler.php (and getinstinfo.php) 2022-12-17 17:36:46 +01:00
pezcurrel
c7d5b50377 Adapted to new crawler version 2022-12-17 15:02:52 +01:00
pezcurrel
90e85f8182 Took away “-t 10” option from crawler.php calls since 10 is now its default timeout 2022-12-12 17:06:51 +01:00
pezcurrel
8ea4acc17a Fixed wrong path in MAILCFG; stderr redirect to logfile; other minor changes 2022-12-08 00:06:16 +01:00
pezcurrel
d64b0697a8 Backups dir for backup.bash 2022-12-03 15:20:01 +01:00
pezcurrel
876a76c6bb Crawl script 2022-12-03 14:48:14 +01:00
pezcurrel
0530de7d08 Backup script 2022-12-03 14:47:28 +01:00