(Dec 29) New version 0.9.8-18 has been released. More you can find here

Problem adding a new cron job

Questions regarding the Command Line Interface
CLI
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
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: 7808
Joined: Fri Dec 26, 2014 2:23 pm
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 1 guest