Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup gem - Not working through cron job. #89

Open
anbublacky opened this issue Sep 28, 2020 · 1 comment
Open

Backup gem - Not working through cron job. #89

anbublacky opened this issue Sep 28, 2020 · 1 comment
Assignees

Comments

@anbublacky
Copy link
Contributor

In few projects, when the cron is setup it was working properly. But recently i faced this issue in one of the projects.

Cron is setup, But it was not throwing error, even in logs could not see it. So

  1. We wrote the log to specific file

/bin/bash -l -c '/usr/local/bin/backup perform -t brandaid_vc_prod' >> /home/anbu31/daily-backup.log 2>&1

Then we got the error like

'ruby_executable_hooks': No such file or directory

  1. Tried installing executable gem and few other option did not work. Finally changing the line in sudo nano /usr/local/bin/backup

From
#!/usr/local/bin ruby_executable_hooks

To
#!/usr/local/bin/ruby

Solved the problem. I would suggest, we add this to the documentation, Because it took quite sometime to solve this.

@mikevic
Copy link
Collaborator

mikevic commented Nov 9, 2020

@tambakoo @anondita - this issue is closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants