Estou tentando aprender sobre o cron para iMacros, mas não sei onde procurar. O Google não ajudou em nada.
Basicamente eu tenho um script que eu escrevi, uma série de comandos, assim:
Line 1
Line 2
Line 3
etc.
O que eu quero fazer é executar, digamos, 10 linhas a cada 5-10 minutos (decidir aleatoriamente um tempo em 5 e 10 minutos) e entre cada linha ter um intervalo de tempo de 2 a 5 segundos entre (escolha aleatoriamente um tempo em 2 e 5 segundos).
Eu sou novo no iMacros e não sei onde começar a aprender a linguagem de script deles. No entanto, consegui escrever alguns scripts muito bons que funcionam muito bem, mas não sei como escrever o cron para isso.
Em suma, deve ser algo como isto (eu substituí o código com uma descrição do cron que eu quero; "Linha 1" é apenas um preenchimento para o código que eu quero executar cron on):
Line 1 [run cron, between 2 and 5 seconds before executing next line]
Line 2 [run cron, between 2 and 5 seconds before executing next line]
Line 3 [run cron, between 2 and 5 seconds before executing next line]
Line 4 [run cron, between 2 and 5 seconds before executing next line]
Line 5 [run cron, between 2 and 5 seconds before executing next line]
Line 6 [run cron, between 2 and 5 seconds before executing next line]
Line 7 [run cron, between 2 and 5 seconds before executing next line]
Line 8 [run cron, between 2 and 5 seconds before executing next line]
Line 9 [run cron, between 2 and 5 seconds before executing next line]
Line 10 [run cron, between 2 and 5 seconds before executing next line]
[run cron, between 5 and 10 minutes before executing next line]
Line 11 [run cron, between 2 and 5 seconds before executing next line]
Line 12 [run cron, between 2 and 5 seconds before executing next line]
Line 13 [run cron, between 2 and 5 seconds before executing next line]
Line 14 [run cron, between 2 and 5 seconds before executing next line]
Line 15 [run cron, between 2 and 5 seconds before executing next line]
Line 16 [run cron, between 2 and 5 seconds before executing next line]
Line 17 [run cron, between 2 and 5 seconds before executing next line]
Line 18 [run cron, between 2 and 5 seconds before executing next line]
Line 19 [run cron, between 2 and 5 seconds before executing next line]
Line 20 [run cron, between 2 and 5 seconds before executing next line]
[run cron, between 5 and 10 minutes before executing next line]
Line 21 [run cron, between 2 and 5 seconds before executing next line]
Line 22 [run cron, between 2 and 5 seconds before executing next line]
Line 23 [run cron, between 2 and 5 seconds before executing next line]
Line 24 [run cron, between 2 and 5 seconds before executing next line]
Line 25 [run cron, between 2 and 5 seconds before executing next line]
Line 26 [run cron, between 2 and 5 seconds before executing next line]
Line 27 [run cron, between 2 and 5 seconds before executing next line]
Line 28 [run cron, between 2 and 5 seconds before executing next line]
Line 29 [run cron, between 2 and 5 seconds before executing next line]
Line 30 [run cron, between 2 and 5 seconds before executing next line]
[run cron, between 5 and 10 minutes before executing next line]
Line 31 [run cron, between 2 and 5 seconds before executing next line]
etc.
Seria ainda melhor se eu pudesse ter um roteiro, algo como o seguinte, mas não saberia por onde começar:
[run sets of 10 lines, consecutively increasing number x, "Line x" x+1, waiting between 2 and 5 seconds before executing each line; then after each set of 10, pause for randomly generated interval of between 5 and 10 minutes before executing next set; repeat]