Closed Jose-Matsuda closed 2 years ago
We will not fix or implement this. For scheduled and recurring jobs Kubeflow pipelines should be used instead. Access to where the cron files live in the persistent volume requires elevated permissions which we cannot give.
Describe the bug
Came from Adib in the support channel
Environment info
Namespace:
Notebook/server: any remote-desktop
Steps to reproduce
To work around my earlier issue with cron not being installed on notebook servers, I created a Ubuntu VM which indeed has cron installed by default Verified using dpkg -l cron and also by the fact that the user level commands crontab -e is working. As per the manpages for cron, user level cron jobs are executed on the user level and does not need root access. I am able to write and install my own cronfile using crontab -e however the background daemon does not seem to be active. Verified using pgrep cron and ps -ef(no PIDs) Further verified using:
Attempting to activate it using both systemctl start cron and service cron start results in errors...
(^ this issue in particular is happening due to PID 1 being the process to start the VM) also,
So I guess my question is, how is one supposed to use the user level cronfile as the user if they cannot activate the daemon?
Expected behaviour
Be able to use
cron
Related information
I suspect if we install cron on the other images as wanted in https://github.com/StatCan/daaas/issues/1205 me may run into the same issue