Add Cron from cli not working ?
Add Cron from cli not working ?
Hi
I try to add cron jobs from cli but not working by default whit asterisk
This return:
Error: wday addons is not valid
Same code working fine whit out asterisk:
I dont have time to debug it, so I ask here :)
I try to add cron jobs from cli but not working by default whit asterisk
Code: Select all
v-add-cron-job admin 0 0 1 1 * comand
Error: wday addons is not valid
Same code working fine whit out asterisk:
Code: Select all
v-add-cron-job admin 0 0 1 1 3 comand
Re: Add Cron from cli not working ?
So it not working because is not posible pass asterisk as argument in cli bash take all file names of directory.
So v-add-cron-job not working fine..
EDIT...
Solved it whit set -f or scaping \
Not is the way but working
So v-add-cron-job not working fine..
EDIT...
Solved it whit set -f or scaping \
Not is the way but working
Re: Add Cron from cli not working ?
Can you please post an example of working command? I've tried everything but still no luck
Re: Add Cron from cli not working ?
$ v-add-cron-job
Like this:Usage: USER MIN HOUR DAY MONTH WDAY COMMAND [JOB] [RESTART]
Code: Select all
v-add-cron-job user '*' '*' '*' '*' '*' /path/test.sh