Find Jobs
Hire Freelancers

Create a simple crontab with putty

$10 USD

Closed
Posted about 8 years ago

$10 USD

Paid on delivery
I have a script for putty. If i copy the script in putty and press ENTER, everythink works fine. My script do this steps well after past it in putty and press ENTER: a) download a file with shell from the remote server to the local server b) convert the file from ANSI to UTF-8 c) start magmi tool to import the downloaded file This is my code: #!/bin/bash HOST='website' # change the ipaddress accordingly USER='username' # username also change PASSWD='passw' # password also change ftp -inv $HOST<<EOF quote USER $USER quote PASS $PASSWD bin cd / lcd "dev-projekt-top/var/import/" mget [login to view URL]* cd dev-projekt-top/var/import lcd "/dev-projekt-top/var/import/" mget [login to view URL]* bye EOF cd dev-projekt-top/var/import iconv -f "windows-1252" -t "UTF-8" [login to view URL] -o [login to view URL] cd .. cd .. cd .. cd .. cd dev-projekt-top/magmi/cli php6 [login to view URL] -profile=csv_auto -mode=update But if i past this code in a ssh file and run it with a crontab, the cron do not start. Your job is very simple: create a correct crontab to run our ssh file. If you like, you can create your own script to download a remote file to local server and convert it from ANSI to UTF. Then you have to rund Magmi with this line: php6 [login to view URL] -profile=csv_auto -mode=update Thank you.
Project ID: 9937782

About the project

30 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
30 freelancers are bidding on average $19 USD for this job
User Avatar
Hi there, My name is Yaseen and i am 1 of the top freelancers and i'm expert to complete these types of project. Please start private conversation with me and provide complete information about project so that we can proceed to job.
$30 USD in 1 day
4.8 (884 reviews)
8.4
8.4
User Avatar
A proposal has not yet been provided
$15 USD in 1 day
5.0 (24 reviews)
4.4
4.4
User Avatar
Hello! I can develop the required script for you and configure crontab. Have you tried to run the script from the linux shell? What was the result? Please provide me also with the crontab entry. How often do you need to execute the script? Do you need to write log with the results of each command of your script or just execute the script as as ctontask?
$20 USD in 1 day
5.0 (5 reviews)
3.6
3.6
User Avatar
Hello, Hoping that I get the job, otherwise I will give you my thoughts on the matter. A few things that are probably going wrong: 1st. The user that is running the crontab, is it the same as the putty terminal user? 2nd. I would use the entire path to each command in that script. 3rd. Put the script in that users home directory, check all permissions. 4th. Run the script as the user that will be running the cron and see if it produces errors. I can have this up and running for you quickly. I only need shell access and an hour, tops. Thank you and good luck in your search! Sincerely, Jeremy Siedzik
$15 USD in 1 day
5.0 (7 reviews)
3.4
3.4
User Avatar
hello, i think u should fill full path of mysql, not only php6. smt ike /usr/bin/php6
$10 USD in 1 day
4.9 (5 reviews)
3.3
3.3
User Avatar
Hello. I work in 24/7 linux servers support. I can help you with this task. Best regards, Eugene D.
$10 USD in 1 day
5.0 (10 reviews)
3.1
3.1
User Avatar
Hello, I can make a try to make your script running. Please contact me if you like to discuss it.. Best regards, Gabriel Bica
$15 USD in 1 day
5.0 (1 review)
1.4
1.4
User Avatar
Hello. I will need an access you your server to setup your script and crontab. I think I know what the problem you have and ready to fix it quickly.
$15 USD in 1 day
5.0 (1 review)
0.8
0.8
User Avatar
A proposal has not yet been provided
$15 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
quality work.......................................................................................................................................................................................................
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I work with script 14 years and i think i can help you, i can test this script in my centos server and when the script works i contact you for installation
$40 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I was a global SME for Ibm and working for Leading Cloud Company. Have strong experties in Linux and vmware and all kind of automation and configuration tool.
$15 USD in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
hi, I'm linux admin with 2+ yr experience. I can help you with creating cronjobs in linux.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Experiencia com Shell Script e Linux desde os anos 2000. Criando e automatizando tarefas para desktops e servidores.
$15 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have areound 6 years of expereince in the linux administration work. I can complete your project on time and within your budget.I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I worked for a worldwide semi-conductor company for more than 15 years and worked exclusively in Unix/Linux, including working with scripts that would transfer files. I hope to have the opportunity to help you with your project.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I had same problem before, but I solved and made crontab runs my scrips without problem, and also does not require changes to sudoers.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Are you searching for a software engineer with a proven ability to develop high-performance applications and technical innovations? If so, please consider my enclosed resume. Since 2006, I have served as a software engineer for Action Company, where I have been repeatedly recognized for developing innovative solutions for multimillion-dollar, globally deployed software and systems. I am responsible for full lifecycle development of next-generation software, from initial requirement gathering to design, coding, testing, documentation and implementation. Known for excellent client-facing skills, I have participated in proposals and presentations that have landed six-figure contracts. I also excel in merging business and user needs into high-quality, cost-effective design solutions while keeping within budgetary constraints. We used to "KANBAN BORD" method for tracking task activities. My technical expertise includes cross-platform proficiency (Windows, Unix and Linux); fluency in 13 scripting/programming languages (including C, C++, VB, Java, Perl, PHP RDBMS such as Oracle, MySQL, MS SQL, postgresSQL and Sybase and SQL) and advanced knowledge of developer applications, tools, methodologies and best practices (including OOD, client/server architecture and self-test automation). My experience developing user-friendly solutions on time and on budget would enable me to step into a Technical specialist role at Third ware Technology Company and hit the ground running. I
$15 USD in 1 day
0.0 (2 reviews)
0.0
0.0
User Avatar
Hi there, I'm a very experienced Network and Linux System Engineer. I am running about 40 Linux Servers for our customers. There are a lot of cronjobs that makes our lives as administrator easier. I can quickly help you with the crontab/cronjob problem. I just need to know: a) on which user did you run the script b) on which user do you want to run the cronjob c) give me ssh (putty) access to your linux server If you have any further questions, just ask me in the private chat. Best regards, Remo Wenger, Swissuccess
$66 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
for last 10 years, I am working on linux environments. Let me know when you have time to discuss. i can do your task.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Büdingen, Germany
5.0
26
Payment method verified
Member since Sep 21, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.