FastAPI: Create a repeated task
sometimes, you want a task to trigger not just when the server starts but also periodically. For example, you might want to regularly check…
cat fastapi-create-a-repeated-task.md →# Linux, Devops, Scripting, Cats and various things come to my mind
// also on this box: ./practice, ./tools and ./games
sometimes, you want a task to trigger not just when the server starts but also periodically. For example, you might want to regularly check…
cat fastapi-create-a-repeated-task.md →test command is convenient; it can verify if a filename is a file or a directory and many other things, but it can also make age…
cat linux-check-if-a-file-is-newer-than-another.md →More often than you will need to verify in your scripts whether a file or directory exists or not. To do this, you can use the test…
cat linux-check-if-a-file-or-directory-exists.md →A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST…
cat create-rest-apis-with-fastapi.md →Do you want a quick, dirty, and unsafe way to execute commands to your Linux box over HTTP? You can use the following hack! I don't…
cat linux-create-a-one-line-web-server-in-bash-that-will-execute-shell-commands.md →I work in an environment where the email servers are behind an SSH gateway, and sending emails through them is a pain since we need to do…
cat linux-how-to-port-forward-only-while-a-process-uses-a-port.md →Note that I am not an HR person; I work in the IT industry, and my experience with interviews where on side of the candidate, but I believe…
cat simple-and-honest-answers-to-difficult-interview-questions-for-it-and-not-only-people.md →Find command is one of the most valuable commands; it can find files and directories based on many criteria like age, size, and name. Let’s…
cat linux-find-command-most-used-cases.md →King Solomon was famous for being wise when he had to deal with the problems of others but performed poorly with his problems; This…
cat solomons-paradox-what-is-and-how-to-reverse-it.md →csv is the most common file format that you will use when you deal with data; all major spreadsheets like Excel or Libre Office Calc…
cat csvkit-query-csv-files-using-sql-from-the-command-line.md →