Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Regarding crontab #1

Open
pitpit opened this issue Jan 26, 2015 · 0 comments
Open

Regarding crontab #1

pitpit opened this issue Jan 26, 2015 · 0 comments

Comments

@pitpit
Copy link
Contributor

pitpit commented Jan 26, 2015

  • The script .sh should not been saved in /root be we aren't sure to be able to access this directory on boot. Prefer "/usr/local/sbin/" or "/usr/local/bin"
  • To log results (success and failure)
    0 3 * * * sh /usr/local/sbin/mysqldump2amazon-s3.sh 2>&1 | /usr/bin/logger -t mysqldump
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant