Create CentOS Cron script to activate a program and turn it off at specific times of the day

I'm using CentOS 7 and I need a Cron script that will activate a .sh file on M-F at 8pm/2000 and turn that process off at 155pm/1355 M-F. It should leave the process untouched on Saturday or Sunday. To kill the process it needs to search for a process ID containing "xmr-stak" and then stop it functioning.

I included what I believe to be the correct cron time command as an image as well as an example search for the process ID as an image.

Beceriler: Linux, Kabuk Betiği, UNIX

Daha fazlasını gör: schedule vbs script run excel macro specific time day, exchange send auto reply specific times day, create centos script file, centos 7 crontab not working, centos add cron job command line, cron.daily centos 7, centos 6 crontab, centos 7 crontab, centos 7 crontab example, centos crontab location, centos install cron, create centos shell script, create html file script, cron script dbcache, create web design script, centos shell script, cron script database, php cron script, php create install database script, create page php script

İşveren Hakkında:
( 0 değerlendirme ) United States

Proje NO: #16026980



A proposal has not yet been provided

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(4 Değerlendirme)

Bu iş için 2 freelancer ortalamada $20 teklif veriyor


Hey I'm interested I'm a system administrator I believe I can help Relevant Skills and Experience Linux, Shell Script, UNIX Proposed Milestones $30 USD - Project milestone Additional Services Offered $15 USD - Ad Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(15 Değerlendirme)