I want crontab gone and I want to delete specific files once a day and 6 minutes after I opened my computer.
My Ubuntu 16.04 runs just fine, thanks for your concern. I want like my browser processes, for example, to run at a nice value of -15. That's why I want to run '/usr/bin/zsh -c '/usr/bin/renice -15 -p $(/usr/bin/pgrep -f /opt/google/chrome/chrome)'` every 15 seconds, for example. On Fri, Jul 8, 2016 at 5:06 PM, Mantas Mikulėnas <graw...@gmail.com> wrote: > On Fri, Jul 8, 2016 at 4:35 PM, One Infinite Loop <6po...@gmail.com> > wrote: > >> A few usecases: >> 1) I want to delete specific files once a day >> > > The existing cronjobs and .timer units work well enough for that. Also, > systemd even ships with a predefined daily systemd-tmpfiles-clean.timer, > see the "r" and "R" types in `man tmpfiles.d`. > > >> 2)I want to free RAM using sync command and `echo 3 > >> /proc/sys/vm/drop_caches` every 15 seconds >> > > Why would you do that? There are better ways to make a computer slower. > > >> 3)I want to make sure certain processes always run using a specific nice >> value like -15. I know control groups are invented but it's not the same >> thing. >> > > That's a service option. It's not related to timers. > > I don't know how to quote and how to reply because it's my first time when >> I use a mailing list. >> > > Surely not the first time using Gmail though. Press 'a' or click "Reply to > all". > > -- > Mantas Mikulėnas <graw...@gmail.com> >
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel