Cronjob not running the latest version of notify #85
-
Hi, I was using notify version 0.0.2 on my ubuntu machine, when I realized that this version does not have -bulk flag support so I again ran the go install command that is given on readme file to install the latest version. Now the issue is, when I run notify using my terminal myself it shows that the version is 1.0.0 and the bulk command is working fine but when I run the same command through cronjob it throws the error. I checked the version ran by the cronjob by running notify -version through cron and it returned version 0.0.2. Somehow, cron isnt able to fetch the latest notify version. Why is it so and whats the solution? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 2 replies
-
Could you please show a screenshot/paste the command and the error you are receiving? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Could you also do a |
Beta Was this translation helpful? Give feedback.
-
root@ubuntu-s-1vcpu: which notify |
Beta Was this translation helpful? Give feedback.
-
Now you need to check whether those are symbolic links and if they point to the same binary or not. I'd assume no, which means that you have two versions installed on your machine. |
Beta Was this translation helpful? Give feedback.
-
so how can I now get rid of this issue and just have one copy on my machine that is the latest one? |
Beta Was this translation helpful? Give feedback.
-
You can run You can also try |
Beta Was this translation helpful? Give feedback.
-
Hi, I have removed both the installation with |
Beta Was this translation helpful? Give feedback.
-
You should be able to find it under |
Beta Was this translation helpful? Give feedback.
@njmulsqb this issue (#80 ) is fixed in dev and will be released soon, for now you can install dev version by running
go install github.com/projectdiscovery/notify/cmd/notify@dev