A few notes that I think are worth going over:<p>1. mysqldump can require quite a few more permissions than mentioned, depending on your utilization of mysql<p>2. The best way I&#x27;ve found to test the cron-like environmentis by following this: <a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2135478&#x2F;how-to-simulate-the-environment-cron-executes-a-script-with" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2135478&#x2F;how-to-simulate-t...</a><p>Otherwise you run the risk of .profile (and similar) being loaded, where they will not be when run in the cron task.<p>3. Extra emphasis on using a lock file to avoid overlapping cron tasks!<p>4. I love using `time` or similar means to pass execution time somewhere (a log file, or a web hook), which helps with point 3.