Is who -b command available? Need to know when computer was started.

2018-10-16 Thread Peder Sverdrup via cygwin
Hi, I am making a script and need to know when the computer was last booted. This can be done with who -b command. I have installed the minimum cygwin and this command is not available. Which package do I need to install in order to have this command available (or any other command that can tel

Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?

2016-07-27 Thread Peder Sverdrup
Hi, I have my own backupscript, lets call it "bup.sh". It is stored on the c-drive, in the directory c:\scripts\. When I open the cygwin terminal I can run the script manually. But if I include it in my crontab, it does not run. If I copy the script to /home/myuser/myscripts/ I can run it from th

Is there a partitioning toll and file system tool in cygwin?

2016-05-12 Thread Peder Sverdrup
Hi, I run cygwin on Win10 64-bit. I would like to format an external harddrive with ext3. (And then do a backup of my windows file with my rsync script to the external harddrive.) Problem I have is that I do not find any partitioning or file system tool in cygwin. For instance - I can not find f