EXALAB/AnLinux-App

Crontab doesn't work in Kali Linux

ltraveler opened this issue · 3 comments

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.

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

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

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.