Skip to main content

All Questions

Tagged with
0 votes
1 answer
986 views

Postgresql pg_dump not working with anacron (cron.daily) on Ubuntu 18.04

I have two files called lb and z-backup. z-backup is a sh script placed in cron.daily which calls the lb (sh) script as an anacron job. These are the files and their locations: ls -l ~/bin/lb -...
speed bump's user avatar
1 vote
1 answer
62 views

Trigger a command upon every `crontab -e` edit

We are using a shared Linux server account where as everyone comes and edits the crontab. Usually we take a backup like this crontab -l > `date +\%Y-\%m-\%d\_\%H:\%M:\%S.txt` Is there an elegant ...
nehem's user avatar
  • 389
0 votes
1 answer
814 views

Auto backup a directory to ftp server with separate files

I have 2 Ubuntu servers (Master and Mirror) and want to use cronjob to auto backup from specific directory. I read this. It is OK but not matched my task. Description my task: Work as real mirror, ...
Miss Phuong's user avatar