CristianLuca
Programmer
This is really bugging me for a while . Here is what i want to do : I made a cronjob to run at each minute a script. That script logs on diferent machines and there it starts another script and return to my main script a result. I do that using c3. When i ran the main script manually it works fine , but when i put it in a crontab it does not log on each machine to run that script. I don't have eny environment variables in those scripts so i don't get why it is working manually but not in crontab.
c3 command that i use to log on each machine and run the script. It is syntacticly correct when i perform it manually.
my $cmd = "/home/cristil/c3/cexec -f /home/cristil/c3.conf crawlerMachines: /usr/bin/perl /home/cristil/bin/crawlerStatistics/$logsFILE";
my @c3 = qx/$cmd/;
Thank you in advance,
Cristian
c3 command that i use to log on each machine and run the script. It is syntacticly correct when i perform it manually.
my $cmd = "/home/cristil/c3/cexec -f /home/cristil/c3.conf crawlerMachines: /usr/bin/perl /home/cristil/bin/crawlerStatistics/$logsFILE";
my @c3 = qx/$cmd/;
Thank you in advance,
Cristian