Jump to content

Does not support special command?

Closed 1.0.0

Apex Rust
Apex Rust

Posted (edited)

Hello, I just bought this plugin for a very specific purpose. Shutting my servers down the first Thursday of evey month at 8 pm. This is what it would look like as a normal cronjob.

0 20 * * 4 [ $(date +\%d) -le 7 ] && command

However from what I have tried, it does not work with this plugin. Is there a way to do this?

Edited by Purple
Terskipia

Posted

All this does is run commands rust does not have a shutdown feature just a restart command. 

Apex Rust

Posted

I am not having issues with the actual command that will be executed on the server. But the time it will be executed. Normal cronjobs on linux you can be more specific on timeframe like shown in my example, which you cant with this plugin. However its not a problem anymore as I found a solution using regular cronjobs.

kasvoton

Posted

Yeah I get what would mean but this part “[ $(date +\%d) -le 7 ] && command” it’s actually a bash evaluation and not directly a functionality from cron. The evaluation if it is the first Thursday of a month is something I can add to the plug-in as I’m not trying to be crontab compliant, it was just an inspiration.

Be posted, I should implement this and release a new version in the next couple of days.

kasvoton

Posted

Changed Status from Pending to Not a Bug

kasvoton

Posted

Changed Status from Not a Bug to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.