Đã hoàn thành

Shell script and cronjob

I must have made the following shell script with associated cronjobs.

It's fine if you send the script and the cronjob command to be inserted here.

1. script

The script must activate this command every night at 01 (1 am)

/usr/bin/mysql -u -p -h -P 3306 -D -e "update calendarEntries set timeStart=DATE_FORMAT(NOW(),'%Y-%m-%d 10:00:00'),timeEnd=DATE_FORMAT(NOW(),'%Y-%m-%d 11:00:00') WHERE ID=69107 or ID=69108 or ID=69109 or ID=69110 or ID=69111 or ID=69112 or ID=69113;"

and

/usr/bin/mysql -u -p -h -P 3306 -D -e "update calendarEntries set timeStart=DATE_FORMAT(NOW(),'%Y-%m-%d 10:00:00'),timeEnd=DATE_FORMAT(NOW(),'%Y-%m-%d 11:00:00') WHERE ID=69114"

2. Script

Must be every Monday, Tuesday, Wednesday, Thursday and Friday at 4pm (4pm)

Must activate the following commands

asterisk -rx "queue add member Local/28282836@phones to 32212 penalty 7"

asterisk -rx "queue add member Local/28282836@phones to 32211 penalty 7"

asterisk -rx "queue add member Local/28282836@phones to 32213 penalty 7"

asterisk -rx "queue add member Local/28282836@phones to 32214 penalty 7"

3. Script

Must be every Monday, Tuesday, Wednesday, Thursday and Friday at 07 (7 am)

Must activate the following commands

asterisk -rx "queue remove member Local/28282836@phones from 32212"

asterisk -rx "queue remove member Local/28282836@phones from 32211"

asterisk -rx "queue remove member Local/28282836@phones from 32213"

asterisk -rx "queue remove member Local/28282836@phones from 32214"

Kĩ năng: Linux, Shell Script

Xem nhiều hơn: shell script remove single line file, executing shell script centos, image resize script cronjob, php script cronjob mysql, hi i am looking for someone to craft our pdf documents in word we will send you 200 k version of documents hi i am looking for s, i have an existing php/mysql script that i need customized with additional functions, i have an existing phpmysql script that i need customized with additional functions, i want to start as a patent analyst freelance after a break of 3 years, outsourcing 3d prininting i the uk, write a php script to store the first 10 natural numbers and display only even ones, graphic designer and photoshop expert now i am available in islamabad to work day and night, I have a loft that needs clearing out. Mucky work! No specialist skills. 3 stages. Clear out and bag the old insulation. Sweep , Please consult the rubric for the specific requirements of this project. Also, an example project, done by a previous CGS1060C s, Hardware i the loop, I require a design of pages in the current website and customisation of it, it’ looks fine as it is now but , I require a design of pages in the current website and customisation of it, it’ looks fine as it is now but none of the pages , Modify this MP so that you can use \ ls\ instead of \ /bin/ls\ (i.e. the shell searches the path for the command to execute., I would like to turn the pine script into a MT4 automated, i will give the script python

Về Bên Thuê:
( 61 nhận xét ) Stenløse, Denmark

ID dự án: #27317413

Được trao cho:

kaloyan13

The best way will be to put the commands in a shell script file, and add crontab lines to execute them.

$20 USD trong 1 ngày
(335 Đánh Giá)
7.0

21 freelancer đang chào giá trung bình $29 cho công việc này

(287 Nhận xét)
6.8
(44 Nhận xét)
5.6
goodwork20k

Hello, i have good experience with shell and cron stuff, i can help u to make script and setup cron job, please let me know if you are good to award this project to me

$30 USD trong 1 ngày
(57 Nhận xét)
5.7
VarunUnix

Hi You need a script or need to know how to put those entries in crontab? I think you have the correct commands and need to put in cron. THanks

$15 USD trong 1 ngày
(57 Nhận xét)
5.4
mula9211

Hi, I have 18 years of experience in VOIP and asterisk. I offer my services for your project. Please have a look at my profile to see all my experience details. I assure you of a high quality professional service. So a Thêm

$30 USD trong 1 ngày
(23 Nhận xét)
5.3
kashifnadeem86

Hi, I've experience with bash scripting and crobjob. I'm interested in your project. Best regards,

$50 USD trong 1 ngày
(22 Nhận xét)
5.4
abytesh

Hi there, Setting cron jobs is my day too day activity. I am a Linux SysAdmin, editing crontabs is my expertise. I assure accurate timing and execution. I am able to set a crontab entry for the scripts listed in t Thêm

$50 USD trong 1 ngày
(23 Nhận xét)
4.6
amelantoney

We need to enabled cron and re-direct logs to file for further reference. I am able to help you. Please go through my past projects and customer feedback over nine years

$25 USD trong 1 ngày
(42 Nhận xét)
4.8
vickvoip15

Hi, I read your project description, trust me i'm best candidate for this job. i have 5 year experience in asterisk and system commands. I'm confident to write the scripts as mentioned above and send to you for addi Thêm

$30 USD trong 1 ngày
(16 Nhận xét)
4.6
ichthyocentaurs

Hello, So, actually you just need a correct crontab records. If you have any questions, please ask.

$15 USD trong 1 ngày
(7 Nhận xét)
3.9
(13 Nhận xét)
3.7
puneetchugh26

Expert level knowledge in Shell Scripting and created various scripts for different clients to automate manual tasks and reduced huge efforts. Some of example scripts are : 1. Fixing CA Certificate downloading issues Thêm

$30 USD trong 1 ngày
(2 Nhận xét)
3.3
hamidazr

Hi dear client, I'm an experienced Linux administrator with 10+ years of job experience. I'm completely familiar with writing Shell Script and also cronjob settings, so l'm ready to do these tasks professionally.

$28 USD trong 2 ngày
(5 Nhận xét)
3.2
damienhunter1985

Hello The above commands you've provided can be put into 3 separate bash scripts, then run with a cron job at the times you've specified. Let me know and I'll do this for you in less than 20/30 minutes. Damien

$25 USD trong 1 ngày
(2 Nhận xét)
1.4
keanu73

Hey there, I'll be able to help you to write the cronjobs required - I have 7 years of Linux system administration experience and with writing Bash shell scripts and cronjobs just like this one. As always, if you have Thêm

$18 USD trong 1 ngày
(3 Nhận xét)
1.1
sanky1989

Hi, I have 9 years of experience in Linux Shell Script and can do your job efficiently and at very cheap rate. Do connect with me on chat to discuss further on this.

$10 USD trong 1 ngày
(0 Nhận xét)
0.0
sankari6

I have 3 years of experience in shell script using this I automate the tasks ,crontab, connecting with remote servers etc.

$25 USD trong 2 ngày
(0 Nhận xét)
0.0
bramgn

Hei! So, from what i understand from your description, is that you need the cronjob style syntax to execute the commands you listed? I think that would be possible given the constrains you wrote (the details on when Thêm

$20 USD trong 7 ngày
(0 Nhận xét)
0.0
imrmendez1112

Hi I have more than 3 yrs experience with Linux Server and automation, and based on the description of your project we can do it using shell script, and we can create only on shell script that has a function for each o Thêm

$20 USD trong 7 ngày
(0 Nhận xét)
0.0
swapnilpj

Hej, I have experience in installing, administering, upgrade and migrate Oracle Databases and Oracle E-Business suite on Linux, Unix, Windows and Oracle Cloud environments, knowledge on Supporting RAC and dataguard, p Thêm

$10 USD trong 1 ngày
(0 Nhận xét)
0.0