⌈⌋ ⎇ branch:  freshcode


Check-in [d3b762bc93]

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

Overview
Comment:Archive screenshots to ALL.txz for mirrors.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d3b762bc93f62346780f1f1abfed410af031f433
User & Date: mario 2016-03-08 22:57:02
Context
2016-03-08
22:58
Introduce $renamed_proj[] aliasing. check-in: bfb37e7d77 user: mario tags: trunk
22:57
Archive screenshots to ALL.txz for mirrors. check-in: d3b762bc93 user: mario tags: trunk
2015-08-28
06:14
Change "Update infos" to "Update project". check-in: 4722f13f26 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

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");