Problem adding a new cron job

Questions regarding the Command Line Interface
CLI
ymakux
Posts: 4
Joined: Sat Oct 22, 2016 7:07 am

Problem adding a new cron job

Postby ymakux » Sat Oct 22, 2016 7:23 am

Hello
I'm trying to add a new cron job using the cli. It should call an external url once a hour

Code: Select all

v-add-cron-job admin 0 * * * * wget -O - http://test.com/tasks.php >/dev/null 2>&1


Or even

Code: Select all

v-add-cron-job admin 0 * * * * wget -O - http://test.com/tasks.php >/dev/null 2>&1 sudo service cron restart


It doesn't return any errors and looks like everithing OK, but no new cron job appears. Please help to solve it.

skurudo
VestaCP Team
Posts: 7783
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: Problem adding a new cron job

Postby skurudo » Wed Oct 26, 2016 1:58 pm

-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now


Return to “CLI”



Who is online

Users browsing this forum: No registered users and 2 guests