티스토리 뷰

728x90
termux-setup-storage
# /data/data/com.termux/files/home/storage/dcim/

pkg install cronie termux-services
# restart termux session
sv-enable crond 

cd /data/data/com.termux/files/home/storage/dcim/
git clone https://github.com/seunggabi/test.git
git config credential.helper store --global

crontab -e
* * * * * cd /data/data/com.termux/files/home/storage/dcim/test && git pull

https://www.reddit.com/r/termux/comments/i27szk/how_do_i_crontab_on_termux/

 

How do I Crontab on Termux..

Hi..I am on non-rooted Android phone & using termux for many purposes for last one year..I want to run cronjobs on termux , but in vein. Anybody...

www.reddit.com

https://android.stackexchange.com/questions/154646/no-permissions-for-termux-to-access-internal-storage-even-for-reading/166104#166104

 

No permissions for Termux to access internal storage - even for reading

Using the termux (https://termux.com) terminal-emulation program, I type the following command: ls /sdcard I get the following error: ls: can't open '/sdcard': Permission denied Realizing that ...

android.stackexchange.com

https://github.com/termux/termux-app/issues/1091

 

Can someone explain how to set a cronjob on Termux? · Issue #1091 · termux/termux-app

I have added the following command to crontab -e 0 14 * * * some command How can I check if it's running, usually I would do this via ps -a on a Linux install. thanks!

github.com

 

728x90
댓글