Thanks for the guidance! need more and deeply help please as i am new.
1) Can i create my own .pl file which will have only my code for easy remember?
2) How to add a command in /etc/crontab which execute daily at 7:00Am in the morning (Tues, Wed, Thu, Fri, Sat)?
3) I am going to use "AST_CRON_audio_3_newftp.pl". What changes i need to do in the file that help my job work correctly?
- Code: Select all
/usr/share/astguiclient/AST_CRON_audio_3_newftp.pl --no-date-dir --gsm --ftp-host="202.125.14.2" --ftp-port=21 --ftp-user="abc" --ftp-pass="abc123" --ftp-dir="RECORDINGS" --url-path="172.25.55.22/RECORDINGS/GSM" --transfer-limit=50 --list-limit=200 --campaign_id="Test123"
a) what does "url-path" means? which path i need to mention here? in above code, i have set a recording path of my local server. Am i correct?
b) the above code is showing that it will create a directory named "RECORDINGS" on ftp server. code "--no-date-dir" means not creating any directory on ftp server. How to copy files on ftp server by creating directories by date-wise? can you please mention a code as an example?
c) i've change the format from mp3 to --gsm in above code? will it work?
d) how many files can i copy on ftp server at a time at a scheduled time? what is the code for that?
e) what is meant by --transfer-limit=50 --list-limit=200 ?
Please help me step-by-step. thanks
Thanks in advance
Sajeel Ahmad