⌈⌋ branch:  freshcode


Check-in [d3b762bc93]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1:d3b762bc93f62346780f1f1abfed410af031f433
Date: 2016-03-08 22:57:02
User: mario
Comment:Archive screenshots to ALL.txz for mirrors.
Tags And Properties
  • branch=trunk inherited from [82405bb421]
  • sym-trunk inherited from [82405bb421]
Context
2016-03-08
22:58
[bfb37e7d77] Introduce $renamed_proj[] aliasing. (user: mario, tags: trunk)
22:57
[d3b762bc93] Archive screenshots to ALL.txz for mirrors. (user: mario, tags: trunk)
2015-08-28
06:14
[4722f13f26] Change "Update infos" to "Update project". (user: mario, tags: trunk)
Changes

Added cron.daily/archive.php.





































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * api: cli
 * title: Archive files
 * description: Backup / etc.
 * version: 0.0
 * category: database
 * type: cron
 * x-cron: 5 5 * * *
 *
 * Nightly archive of screenshots http://freshcode.club/img/screenshot/ALL.txz
 *
 */


chdir(dirname(__DIR__));
chdir("img/screenshot");
exec("tar cJf ALL.txz *.jpeg");