PHP code example of cdwv / cronos-database-dumper
1. Go to this page and download the library: Download cdwv/cronos-database-dumper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cdwv / cronos-database-dumper example snippets
text
# KEY app_name
0 4 * * * /usr/bin/php __PATH_TO_YOUR_PROJECT__/app/console cdwv:database:dump --env=prod --path=.
0 4 * * * find * -mtime +14 -exec rm {} \;
# END