2

I want to create a cron job from scheduled tasks in Plesk. I am facing a weird problem with it, I have created the task and my command runs successfully if I press "Run now". If I let it runs automatically every 1 hour the file is empty.

Here is my command:

/usr/bin/mysqldump -u username -p'pass' dbname > path/mybackup.sql
prosoitos
  • 6,679
  • 5
  • 27
  • 41
stelios
  • 71
  • 5

0 Answers0