db zoxyl
user root
no passwords
select [login to view URL],channel,sim from balance,device_status where device_status.imsi=[login to view URL] and balance1>'7499' and balance date > date_sub(now(),interval 5 hour) order by balance date desc
multiple entries will be found
for every entry found issue
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '#123#'
wait random between 20 and 30 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '2'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '4'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '1'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '1'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '#123#'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '1'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '3'
wait random between 5 and 10 sec
php /var/www/html/gateway/[login to view URL] --ussd --ns --gw [ip] --ports [channel].[sim] --ussd-code '3'
go to the next entry
display all output on screen
I can have your bash script completed in the next couple of hours. This is not a hard job, I have the required experience.
Relevant Skills and Experience
I have ten years experience working with Linux systems.
Proposed Milestones
$25 USD - Completed script.
Alright i understand your requirements, and would be happy to help and i think this price range is fair which you have given i shall make the it in bash and if allowed i can sprinkle little python.
Relevant Skills and Experience
bash, shell scripting, Python, Linux
Proposed Milestones
$20 USD - Final milestone