Crontab Alias Generator



How to Use

  1. Input Cron Job Line:

    Copy the exact cron job line you wish to target from your crontab by running crontab -l in your terminal. Paste it into the "Cron Job Input" field above.

  2. Choose an Alias Name:

    Enter a simple name for your alias pair in the "Alias Name" field. This name will be used to create two aliases: one to turn on (uncomment) the cronjob and one to turn off (comment) the cronjob. For example, if you enter backup, the aliases will be backupoff and backupon.

  3. Generate Aliases:

    Click the "Generate" button to create the alias pair. The generated aliases will appear on the right side.

  4. Copy and Use the Aliases:

    You can copy the aliases directly by clicking the "Copy Aliases" button, or you can copy the command to append the aliases to your .bashrc file by clicking the "Copy Command" button. Pasting and running this command in your terminal will make the aliases available in all new terminal sessions.