EXALAB / AnLinux-App

AnLinux allow you to run Linux on Android without root access.
Apache License 2.0
1.74k stars 248 forks source link

Crontab doesn't work in Kali Linux #393

Open ltraveler opened 2 years ago

ltraveler commented 2 years ago

I have installed Cron package via apt-get install cron. ps -ef | grep crond shows me that the cron daemon is running:

10192 14137 13328 0 17:29 pts/2 00:00:00 grep crond 10192 25693 25691 0 01:52 ? 00:00:00 runsv crond 10192 25694 25693 0 01:52 ? 00:00:00 svlogd -tt /data/data/com.termux/files/usr/var/log/sv/crond

But tasks are not running inside Kali-Linux. How to make cron work inside Kali-Linux?

Thank you.

ltraveler commented 2 years ago

Apart from cron package I have installed systemd-cron and that solves the problem. But it is strange that those 2 packages do not have dependencies

ghost commented 1 year ago

I have installed Cron package via apt-get install cron. ps -ef | grep crond shows me that the cron daemon is running:

@ltraveler are you running kali on rooted device. i was informed it is not possible to run command without mounting proc on my non-rooted/plain device: https://github.com/EXALAB/AnLinux-App/issues/407

ltraveler commented 1 year ago

I have installed Cron package via apt-get install cron. ps -ef | grep crond shows me that the cron daemon is running:

@ltraveler are you running kali on rooted device. i was informed it is not possible to run command without mounting proc on my non-rooted/plain device: #407

The device is quite old (Samsung Galaxy S6) and not rooted. So, probably because of the Nougat 7.0 there is no proc restriction.