Dec-08-2020, 08:31 PM
Hello,
I'm trying to use a python script to set an At job in the shell, and I am wanting to make sure my approach is sound. My understanding is that I need to:
1. Import os to my script and use that to set call the At input buffer.
2. Then, I am thinking I use sys.out to send a formatted string to the buffer, such as 'echo "foo"'.
3. Use sys.out to send ^D to close the buffer.
Is this the correct approach? Many thanks for any advice!
-- Matt
I'm trying to use a python script to set an At job in the shell, and I am wanting to make sure my approach is sound. My understanding is that I need to:
1. Import os to my script and use that to set call the At input buffer.
2. Then, I am thinking I use sys.out to send a formatted string to the buffer, such as 'echo "foo"'.
3. Use sys.out to send ^D to close the buffer.
Is this the correct approach? Many thanks for any advice!
-- Matt