Run a docker container command from synology crontab

Use the information here to edit the /etc/crontab and then restart with synoservice -restart crond http://www.multigesture.net/articles/how-to-use-cron-on-a-synology-nas/ # /etc/crontab every 2 hrs at 15 minutes past 15 */2 * * * root /root/checkAws.sh...

Call to undefined function opcache_reset()

Got this error message 2018/03/13 22:12:41 [error] 17149#0: *7057 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function opcache_reset() in /path/to/wordpress/wp-content/plugins/opcache/opcache.php:72 And then created a...

Get the Size of an Amazon Bucket

Command to get a listing of each object and it’s size, the number of objects and their total size in human readable format: aws s3 ls --summarize --human-readable --recursive s3://BUCKET_NAME/ # output is a really long listing ... with this format: 2018-02-04...