Iam newbie in linux, and i've looking for this solution but i still cannot doing it. I want to backup my database automatically every week by entering the command into the cronjob. But when the command is executed automatically, it will ask for username and password and it becomes not automatic coz user should entering it manually. How do I input the username and password automatically?
The prompt is: GSQL username:
then GSQL password:
Thank you
Cron command should be like:
or
These command lines set Environment variables first and then runs backup command.
Details here: