How to run autopostgresqlbackup
in a cron job?
I setup a new cronjob this way:
34 20 * * * echo "DAILY INTERNAL BACKUP - POSTGRESQL" && sudo autopostgresqlbackup
Unfortunately this isn't working. Here is the message I received in my mailbox.
DAILY INTERNAL BACKUP - POSTGRESQL
/bin/bash: autopostgresqlbackup: command not found
The autopostgresqlbackup is installed and working well in my server.
I want to control when backups are done through my own cron jobs, is it possible?
autopostgresqlbackup
echo "DAILY INTERNAL BACKUP - POSTGRESQL"
will not work rather put that into a file with>>