Færdiggjort

.sh File, Cronjob

I have a rather simple .sh file to run a few ssh commands... I need it to run via crontab / cronjob.

Here is the example:

----------------------

#!/bin/bash

livecli --fc2-username user --fc2-password pass [login to view URL] best -ao --auto-output-only-id --auto-output-time --download-dir /var/www/clients/client1/web1/web/just_recorded &

...............

----------------------

I have tried a few different cronjob setups, but none seem to work....

I have chmod +x the file.

*/30 * * * * cd /var/www/clients/client1/web1/web/recorders && sh [login to view URL]>>[login to view URL]

If something is wrong with the .sh file i need it fixed, if it is good I need the cronjob setup so that it will run every 30 minutes....

I do not believe anything is wrong with the .sh file because if I call it via ssh normally it runs and acts as I want it to ....

Evner: Linux, PHP, Python, Shell Script, Software Arkitektur

Se mere: cron job shell script example, crontab shell command, how to run a script in crontab every minute, how to set a cron job to run a shell script, bash crontab examples, crontab run shell script every hour, crontab shell script not executing, crontab shell script with arguments, run ssh commands net, run ssh commands, simple file based php cms, simple file upload php, simple file uploader, simple file read program, best language simple file copy script, php simple file list upload, simple file upload script mysql, simple file delete using php, simple file list using php, file upload progress bar simple php

Om arbejdsgiveren:
( 23 bedømmelser ) Ft Walton Beach, United States

Projekt ID: #16948856

Tildelt til:

bindmission

Hello, Hope you are doing well. I have 6 years of experience on Linux and crontab I will help you. Regards, VishnuLal

$25 USD på 1 dag
(52 bedømmelser)
5.2