mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 18:15:54 +03:00
[GH-ISSUE #147] Cannot auto-run with cron #574
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#574
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sepi2048 on GitHub (Oct 20, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/147
Hi,
I made this simple bash script (run-insta.sh) that should run insomniac every 8 hour:
In sudo crontab -e:
0 */8 * * * /bin/bash /home/me/Insomniac/run-insta.shThe bash script seem to be fired every 8 hour, but not run properly. This is my cron log output
Have anyone made insomanic to run by the help of cron or in any other way?
P.S. This run-insta.sh bash script runs flawless when executed manualy
@darmawan07 commented on GitHub (Oct 21, 2020):
Try with this.
#!/bin/bash
python3 /home/me/Insomniac/insomniac.py --interact --total-likes-limit 150 --follow-percentage 10
@Foncekar commented on GitHub (Oct 22, 2020):
Just run this
pip3 install uiautomator2@sepi2048 commented on GitHub (Oct 23, 2020):
I obviously has
uiautomator2installed if the bash script run successfully when executed manually. There seems to be a path issue related touiautomator2when it tries to run through cron.