Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Cron Job error

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
lkycy
Posts: 24
Joined: Mon Sep 01, 2014 7:42 pm

Cron Job error
  • Quote

Post by lkycy » Wed Jun 01, 2016 6:53 am

Hello all,

I was add a cron job last night.
My cron job command is;

Code: Select all

sudo /sbin/reboot
When the command activated, system send me an email;

Code: Select all

sudo: no tty present and no askpass program specified
I was tried edit visudo and i add something like this but it doesn't work;

Code: Select all

myname ALL = NOPASSWD: /sbin/poweroff, /sbin/start, /sbin/stop, /sbin/reboot
Someone can help me?

Thanks is advance...
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: Cron Job error
  • Quote

Post by SS88 » Mon Jun 06, 2016 5:22 pm

You tried: http://stackoverflow.com/questions/2165 ... fied-error
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password