Increase the shell script timeout to more than 10 minutes and upto 1 hour.

PeaceMaker535

New member
Hi Jamie! I use macrodroid to automate downloading the latest OSM map file periodically. But this download takes atleast 30 minutes to finish. Currently the shell script timeout is limited to 10 minutes due to which the macro gets killed. I also use shell script to take the whole phone backup and push it to my server. These are few of the many cases where the macro needs more than 10 minutes to finish. Kindly increase the shell script timeout to have following values 15, 30, 45 and 60 minutes. This would really help me in automating a lot of tasks. Nonetheless Thank you for such an awesome product!
 

Abalsam

Active member
The best solution would be to allow for custom value that could be a variable.
Ideally I would also want to differentiate between a hung script/command and one with an active transfer occurring. If the former is detected I would want macrodroid to try and kill it.
 

tanutanu

Well-known member
Shell script action doesn't seem to be intended to use for such purposes because toybox mksh doesn't have good commands to fetch files via internet.
I recommend to use curl or wget on Termux to download files, and FolderSync for backup if you don't mind to use the plugins at this moment.
I hope httpget action would support more useful options such as saving retrieved data stream to a file directly, switching PUT method, modifying http header or any other extra configurations:)
 

FrameXX

Well-known member
Shell script action doesn't seem to be intended to use for such purposes because toybox mksh doesn't have good commands to fetch files via internet.
I recommend to use curl or wget on Termux to download files, and FolderSync for backup if you don't mind to use the plugins at this moment.
I hope httpget action would support more useful options such as saving retrieved data stream to a file directly, switching PUT method, modifying http header or any other extra configurations:)

You can download file from http with mixplorer intent commands.
 
Top