← prev | next →
armanhrshaikh 2022-08-12 12:12:18
spool is also there on termux , i was finding the file in /tmp
moogiwaraa 2022-08-12 12:13:35
I’ll change HISTFILE first to clean up $HOME 😂
BytesIO 2022-08-12 12:57:49
Fibonakki 2022-08-12 07:51:34
You don’t have sudo? Then you can’t do it that way
i think he is working in a termux environment
BytesIO 2022-08-12 12:57:56
no sudo available there unless rooted
armanhrshaikh 2022-08-12 14:00:02
BytesIO 2022-08-12 12:57:56
no sudo available there unless rooted
pseudo sudo available by root
Fibonakki 2022-08-12 14:06:59
armanhrshaikh 2022-08-12 12:12:18
spool is also there on termux , i was finding the file in /tmp
🤦♂️🤦♂️🤦♂️
Fibonakki 2022-08-12 14:07:32
armanhrshaikh 2022-08-12 14:00:02
pseudo sudo available by root
Pseudo sudo))
Fibonakki 2022-08-12 14:08:48
BytesIO 2022-08-12 12:57:49
i think he is working in a termux environment
What is a termux env?
marcotrosi 2022-08-12 14:09:09
an Android terminal emulator
Fibonakki 2022-08-12 14:09:55
Understood. So there is no sudo you are saying but only switching to root is possible
Fibonakki 2022-08-12 14:11:45
Oh damn so i was telling him to run this cron stuff on android)) i thought he is trying on a regular linux server.
Fibonakki 2022-08-12 14:14:29
armanhrshaikh 2022-08-12 10:19:41
👍I got my solution !
Henk Fibonakki @marcotrosi
Thanks
Do you mind sharing what you mean by you found solution? I spent on this project more time than you i deserve to know what worked 😬
armanhrshaikh 2022-08-12 14:25:45
Fibonakki 2022-08-12 14:14:29
Do you mind sharing what you mean by you found solution? I spent on this project more time than you i deserve to know what worked 😬
yeah, sure.
cat myjobs.txt > $PREFIX/var/spool/cron/$(whoami)
armanhrshaikh 2022-08-12 14:26:26
I was actually confuse and finding inside /tmp
Fibonakki 2022-08-12 14:26:31
armanhrshaikh 2022-08-12 14:25:45
yeah, sure.
cat myjobs.txt > $PREFIX/var/spool/cron/$(whoami)
What is prefix? Also pls make it a habit to post a solution we are all curious individuals here)
Fibonakki 2022-08-12 14:26:53
armanhrshaikh 2022-08-12 14:26:26
I was actually confuse and finding inside /tmp
I told you multiple times the location, never said it’s in temp
armanhrshaikh 2022-08-12 14:27:21
$PREFIX is an environmental variable which holds path
Fibonakki 2022-08-12 14:27:37
armanhrshaikh 2022-08-12 14:27:21
$PREFIX is an environmental variable which holds path
What
marcotrosi 2022-08-12 14:27:56
okay happy we worked it out
armanhrshaikh 2022-08-12 14:27:58
$PREFIX = /data/data/com.termux/usr/
Fibonakki 2022-08-12 14:28:21
armanhrshaikh 2022-08-12 14:27:58
$PREFIX = /data/data/com.termux/usr/
Oh gotcha that’s termux specific then i guess)
armanhrshaikh 2022-08-12 14:28:30
yep
Fibonakki 2022-08-12 14:32:03
Actually never thought about puttin crontabs in my android)) it’s a decent idea since it’s essentially on the whole time
BytesIO 2022-08-12 14:48:25
Fibonakki 2022-08-12 14:32:03
Actually never thought about puttin crontabs in my android)) it’s a decent idea since it’s essentially on the whole time
u can’t do that
BytesIO 2022-08-12 14:49:29
crons jobs are emulated by termux, the application should be in background for that to work.
BytesIO 2022-08-12 14:49:49
unless ofcourse rooted
Fibonakki 2022-08-12 15:20:53
BytesIO 2022-08-12 14:49:29
crons jobs are emulated by termux, the application should be in background for that to work.
By application has to be in background you mean termux?
BytesIO 2022-08-12 15:21:02
Fibonakki 2022-08-12 15:20:53
By application has to be in background you mean termux?
yes
Fibonakki 2022-08-12 15:21:15
BytesIO 2022-08-12 15:21:02
yes
Can’t we just leave it on the whole time?
BytesIO 2022-08-12 15:21:58
Fibonakki 2022-08-12 15:21:15
Can’t we just leave it on the whole time?
yes its possible
BytesIO 2022-08-12 15:24:01
but might depend on the os skin sometimes. if the os has a agressive ram manager. it may kill the app after sometime
Fibonakki 2022-08-12 15:25:26
BytesIO 2022-08-12 15:24:01
but might depend on the os skin sometimes. if the os has a agressive ram manager. it may kill the app after sometime
Gotcha thanks 🙂
Fibonakki 2022-08-12 15:25:46
Guys qq, are there any security/hacking oriented telegram channels?
n0madcoder 2022-08-12 16:35:10
Fibonakki 2022-08-12 15:25:46
Guys qq, are there any security/hacking oriented telegram channels?
spitetech maybe? (Add @ before) Idk that one was mentioned in one of my groups when arguing about the topic
Fibonakki 2022-08-12 16:36:43
n0madcoder 2022-08-12 16:35:10
spitetech maybe? (Add @ before) Idk that one was mentioned in one of my groups when arguing about the topic
Looks dead, two posts only
← prev | next →