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