Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
545 views
by Talented
edited by
Hi,

I use Webinoly backup as in the documentation. Everything works except cron.

The execution of the command in cron return the following error:
BASH Shell is required!

Example command that returns this message:
0 0 * * * webinoly -backup=local -wp=domain.name -max=3

Version: You currently have the latest version! (v1.16.1)

1 Answer

0 votes
by Expert

Hi Keaman,

Webinoly works perfectly fine in Cron, especially for backups.

Just be sure that the user running the specific Cron you are using has Bash shell configured. For most people this shouldn't be a problem because normally you should be using the same user as you are logged in or if you are using "sudo" to create your Cron, just be sure the "root" user has Bash shell configured.

Regards.

by Talented
I use the root by default. But thank you for the tips, I'll try to check what's going on.
by Expert

Easy, just see if "root" has bash configured here: /etc/passwd

by Talented
I checked it, but I'll check again.

Maybe I will better understand how it works. :)
by Expert
This "bash check" runs every time Webinoly is executed. So, it shouldn't be different if you are running a command directly from CLI or using the same user in Cron.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...