On 10 Apr 2023 03:23, David Wright wrote:
On Sun 09 Apr 2023 at 21:48:22 (+0200), zithro wrote:
IOW, while I run crontab -e on bookworm, inside my emacs session,
I want a subshell to run crontab -l, but the latter has to run on
bullseye in order to pick up the old crontab. I'm not sure how
I would do that.

Try running :
ssh user@bullseye crontab -l

It will locally list the crontab from remote user "user".

Note I've never used emacs, so dunno if ssh is allowed !

In case it's not clear, bullseye and bookworm are Debian distribution
codenames, not hostnames.

In case it's not clear, to distinguish hosts in help messages, it's easy to refer to a host using its distro/codename. I have no idea how you name your hosts, nor is it useful for the conversation. I thought you could do the name translation by yourself.

I can't edit my crontab on a newly installed
bookworm system while simultaneously listing my old crontab on the old
bullseye system on the same computer.
The machine is set up to dual boot (currently bullseye and buster),
but not simultaneously!

Missed that information. So it's even easier.
Mount the /var partition of bullseye on bookworm.
Go to /MOUNTPOINT/var/spool/cron/crontabs
Done.

Reply via email to