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

Alans vCheck script on Centos fails to run via cron #735

Open
tburhade opened this issue Jun 12, 2021 · 0 comments
Open

Alans vCheck script on Centos fails to run via cron #735

tburhade opened this issue Jun 12, 2021 · 0 comments

Comments

@tburhade
Copy link

Dear Lucd,

Alans vCheck script is working absolutely fine for me on centos.

But when I schedule cron for the vCheck script it fails and the script does not run.

Can you please suggest what can be done to schedule the vCheck script on Centos?

Things I have tried so far.
Running the script & scheduling as /usr/bin/pwsh/ /path/to/vCheck.ps1 & this did not work
Setting the user's shell to pwsh and then scheduling the script but did not work.
Tried to mention environment variables in the vCheck script & it failed.

Please suggest.

I'm using Alans vCheck script version 6.25 on centos 7.8 Powershell version 7.1.0

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

1 participant