Search Results

Search: Posts Made By: beautymind
1,445
Posted By beautymind
Curl doesn't return csv file
Hi every body,
I'm getting a trouble with my script , it's supposed to return a csv file .
/usr/bin/curl -LS -D- -X GET -H "Authorization:Basic $password" -H 'Content-Type: text/csv' -L -o ...
2,710
Posted By beautymind
Unfortunately I can't post the script because it...
Unfortunately I can't post the script because it is strictly forbidden as I'm working on a confidential project.
My question is : how can I do so that the process takes less time ? knowing that the...
2,710
Posted By beautymind
@Rudic 1000 process running because there are...
@Rudic 1000 process running because there are many scripts each script calls an other ,
Now what is changed . we don't have only one site as before , we have 12 sites so it takes more time
2,710
Posted By beautymind
@apmcd47 Thanks for the help @hicksd8 and ...
@apmcd47 Thanks for the help
@hicksd8 and @RudiC Unfortunately I can't post the script ( I am intern and I do not have the right to release the code)

I think that the script takes so long unlike...
2,710
Posted By beautymind
@RudiC , I don't know what is the problem because...
@RudiC , I don't know what is the problem because is it expected to finish in close to an hour.
2,710
Posted By beautymind
first of all I wanna thank you for your answer , ...
first of all I wanna thank you for your answer ,
but to be honest I have no idea how to create this file , where to put it and what should I put inside.
same for the second hypothesis
thanks
2,710
Posted By beautymind
Many processes running at the same time
Hello everybody ,

I launched cron to execute a task every hour but the job takes more than hour that's why I'm getting more than 1000 cron processes running at the same time !!!
My question is...
873
Posted By beautymind
My active tickets will not be available in the cron environment
Hi everybody ,

when I run a script from the command line it works but returns a failure if I run it from crontab.
Basically I wanted to send a file to hdfs,
I thought it was related to the fact...
6,657
Posted By beautymind
@YODA I did
@YODA

I did
6,657
Posted By beautymind
@Andrew "I think you need to save the...
@Andrew

"I think you need to save the kerberos ticket in such a way your script can pick it up, using kinit"

I think that if I can do that , I resolve the problem , but how can I do ??...
6,657
Posted By beautymind
more /usr/bin/hdfs returns : #!/bin/bash...
more /usr/bin/hdfs returns :


#!/bin/bash
# Reference: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
SOURCE="${BASH_SOURCE[0]}"
...
6,657
Posted By beautymind
Here is the code : for file in $FILE_LIST ...
Here is the code : for file in $FILE_LIST

do
/usr/bin/hdfs dfs -put -f $source_directory/$file $hdfs_target_directory
res=$?
if...
6,657
Posted By beautymind
thank for the links sadique The script works...
thank for the links sadique
The script works when I launch it on the command line and I don't have this credential problem , the same user ( who is me ) when I try to run it on crontab I get this...
6,657
Posted By beautymind
How to fix it ?
How to fix it ?
6,657
Posted By beautymind
Script working on command line and not on crontab
my problem is this: when I run a script from the command line it works but returns a failure if I run it from crontab.
Basically I wanted to send a file to hdfs,
I thought it was related to the...
4,377
Posted By beautymind
But there's an other problem, when I get the...
But there's an other problem,
when I get the csv file I try to put it via hdfs but the put fails
and I get this message : Failed on local exception: java.io.IOException:...
4,377
Posted By beautymind
Thank you guys , I'll test this solution ...
Thank you guys , I'll test this solution

---------- Post updated at 09:57 AM ---------- Previous update was at 09:13 AM ----------

I got this error 0curl: (5) Could not resolve proxy:...
4,377
Posted By beautymind
how can I do that plz ?
how can I do that plz ?
4,377
Posted By beautymind
for ftp , all and no proxy : no display when...
for ftp , all and no proxy : no display

when I run the script on the command line I get the two addresses for http proxy and https proxy and nothing else

proxy.speria.saint-trop.net:3128 ...
4,377
Posted By beautymind
excuse me Robin , I'm beginner in shell so I...
excuse me Robin , I'm beginner in shell so I don't how to get theses informations http_proxy etc
4,377
Posted By beautymind
Thank you Robin for your reply, uname -a...
Thank you Robin for your reply,
uname -a returns : Linux aocsv155bed0p.cloudwatt.saint-gobain.net 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxand...
4,377
Posted By beautymind
Script containing Curl doesn't run with crontab
Hello
I have a problem with the crontab command
when I run a code containing Curl on the command line it runs without fail but as soon as I program it with crontab it executes everything except the...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 06:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy