mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 20:41:20 -05:00
mention cronjob in readme, issue #47
This commit is contained in:
parent
1bc81304cb
commit
5a6415de48
@ -28,6 +28,8 @@ Installation
|
|||||||
|
|
||||||
* The database structure will be created automatically if it doesn't exist.
|
* The database structure will be created automatically if it doesn't exist.
|
||||||
* No special file permissions are needed by default. Optional: If you want to have the JavaScript- and CSS-files minified, the static/asset/ folder has to be writable.
|
* No special file permissions are needed by default. Optional: If you want to have the JavaScript- and CSS-files minified, the static/asset/ folder has to be writable.
|
||||||
|
* To ensure that pastes with an expiration set get cleaned up, define the cron key in the config and set up a cronjob, for example:
|
||||||
|
* */5 * * * * curl --silent http://yoursite.com/cron/[key]
|
||||||
|
|
||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
@ -35,7 +37,7 @@ Changelog
|
|||||||
|
|
||||||
### Version 0.8.5:
|
### Version 0.8.5:
|
||||||
|
|
||||||
Todo. Planned: Refactoring of pastes model, unit tests, easier spamadmin, documentation, and more
|
Todo. Planned: Refactoring of pastes model, unit tests, diff-view, easier spamadmin, documentation, and more
|
||||||
|
|
||||||
### Version 0.8.4:
|
### Version 0.8.4:
|
||||||
|
|
||||||
|
@ -31,10 +31,10 @@ $config['combine_assets'] = false;
|
|||||||
/**
|
/**
|
||||||
* Key for Cron
|
* Key for Cron
|
||||||
*
|
*
|
||||||
* The password required to run the cron job
|
* The password required to run the cron job */
|
||||||
* Example cron: 00, 30 * * * * curl --silent --compressed http://yoursite.com/cron/key &> /dev/null
|
// Example cron: */5 * * * * curl --silent http://yoursite.com/cron/[key]
|
||||||
*
|
//
|
||||||
**/
|
//
|
||||||
$config['cron_key'] = '';
|
$config['cron_key'] = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user